Class: Kentaa::Api::Resources::Logo
- Inherits:
-
Object
- Object
- Kentaa::Api::Resources::Logo
- Defined in:
- lib/kentaa/api/resources/logo.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Logo
constructor
A new instance of Logo.
- #locale ⇒ Object
- #url ⇒ Object
Constructor Details
#initialize(data) ⇒ Logo
Returns a new instance of Logo.
9 10 11 |
# File 'lib/kentaa/api/resources/logo.rb', line 9 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
7 8 9 |
# File 'lib/kentaa/api/resources/logo.rb', line 7 def data @data end |
Instance Method Details
#locale ⇒ Object
17 18 19 |
# File 'lib/kentaa/api/resources/logo.rb', line 17 def locale data[:locale] end |
#url ⇒ Object
13 14 15 |
# File 'lib/kentaa/api/resources/logo.rb', line 13 def url data[:url] end |