Class: AppStoreLookup::AppLanguage
- Inherits:
-
Object
- Object
- AppStoreLookup::AppLanguage
- Defined in:
- lib/app_store_lookup.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AppLanguage
constructor
A new instance of AppLanguage.
Constructor Details
#initialize(attributes = {}) ⇒ AppLanguage
Returns a new instance of AppLanguage.
108 109 110 |
# File 'lib/app_store_lookup.rb', line 108 def initialize(attributes = {}) @code = attributes[:code] end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
106 107 108 |
# File 'lib/app_store_lookup.rb', line 106 def code @code end |