Class: Billy::Country

Inherits:
BaseModel show all
Defined in:
lib/billy/country.rb

Instance Attribute Summary

Attributes inherited from BaseModel

#attributes

Class Method Summary collapse

Methods inherited from BaseModel

#initialize, #method_missing

Constructor Details

This class inherits a constructor from Billy::BaseModel

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Billy::BaseModel

Class Method Details

.listObject

Get a paginated list of all valid countries for a billy service



4
5
6
# File 'lib/billy/country.rb', line 4

def self.list
  Billy::Request.request('countries/list')
end