Class: Shutterstock::SubscriptionLicenseFormats
- Inherits:
-
Array
- Object
- Array
- Shutterstock::SubscriptionLicenseFormats
- Defined in:
- lib/client/subscription_license_formats.rb
Instance Attribute Summary collapse
-
#raw_data ⇒ Object
readonly
Returns the value of attribute raw_data.
Instance Method Summary collapse
-
#initialize(raw_data) ⇒ SubscriptionLicenseFormats
constructor
A new instance of SubscriptionLicenseFormats.
Constructor Details
#initialize(raw_data) ⇒ SubscriptionLicenseFormats
Returns a new instance of SubscriptionLicenseFormats.
4 5 6 7 8 9 10 |
# File 'lib/client/subscription_license_formats.rb', line 4 def initialize(raw_data) @raw_data = raw_data super( @raw_data.map{ |slf| SubscriptionLicenseFormat.new(slf) } ) self end |
Instance Attribute Details
#raw_data ⇒ Object (readonly)
Returns the value of attribute raw_data.
3 4 5 |
# File 'lib/client/subscription_license_formats.rb', line 3 def raw_data @raw_data end |