Class: DocusignDtr::MetaCountry
- Inherits:
-
Object
- Object
- DocusignDtr::MetaCountry
- Defined in:
- lib/docusign_dtr/meta_country.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
Returns the value of attribute client.
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize(client:) ⇒ MetaCountry
constructor
A new instance of MetaCountry.
Constructor Details
#initialize(client:) ⇒ MetaCountry
Returns a new instance of MetaCountry.
5 6 7 |
# File 'lib/docusign_dtr/meta_country.rb', line 5 def initialize(client:) @client = client end |
Instance Attribute Details
#client ⇒ Object
Returns the value of attribute client.
3 4 5 |
# File 'lib/docusign_dtr/meta_country.rb', line 3 def client @client end |
Instance Method Details
#all ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/docusign_dtr/meta_country.rb', line 9 def all @client.get('/meta/countries')['entities'].map do || = DocusignDtr::Models::MetaCountry.new() .client = client end end |