Skip to content

Commit

Permalink
Merge pull request #1 from alejandro-fiore/patch-1
Browse files Browse the repository at this point in the history
Add support to Bolivia
  • Loading branch information
alejandro-fiore authored Jun 25, 2019
2 parents 2fc88d7 + b0b5789 commit 7a1485c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Models/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Country extends BaseModel
const ECUADOR = 'Ecuador';
const MEXICO = 'Mexico';
const PERU = 'Peru';
const BOLIVIA = 'Bolivia';

/**
* @return array
Expand All @@ -24,6 +25,7 @@ public static function all()
self::ECUADOR,
self::MEXICO,
self::PERU,
self::BOLIVIA
];
}

Expand Down Expand Up @@ -68,7 +70,8 @@ private static function isoCodes()
'CO' => self::COLOMBIA,
'EC' => self::ECUADOR,
'MX' => self::MEXICO,
'PE' => self::PERU
'PE' => self::PERU,
'BO' => self::BOLIVIA
];
}
}

0 comments on commit 7a1485c

Please sign in to comment.