Class: Thanos::Item::Series
- Inherits:
-
Object
- Object
- Thanos::Item::Series
- Defined in:
- lib/thanos/resources/item/series.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#resource_uri ⇒ Object
readonly
Returns the value of attribute resource_uri.
Instance Method Summary collapse
- #complete ⇒ Object
-
#initialize(data) ⇒ Series
constructor
A new instance of Series.
Constructor Details
#initialize(data) ⇒ Series
Returns a new instance of Series.
6 7 8 9 |
# File 'lib/thanos/resources/item/series.rb', line 6 def initialize(data) @name = data['name'] @resource_uri = data['resourceURI'] end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/thanos/resources/item/series.rb', line 4 def name @name end |
#resource_uri ⇒ Object (readonly)
Returns the value of attribute resource_uri.
4 5 6 |
# File 'lib/thanos/resources/item/series.rb', line 4 def resource_uri @resource_uri end |