Class: InsoundApi::Product

Inherits:
ObjectBase show all
Defined in:
lib/insound_api/product.rb

Instance Attribute Summary

Attributes inherited from ObjectBase

#node

Instance Method Summary collapse

Methods inherited from ObjectBase

#initialize, #parse_int, #parse_str, #title, #url

Constructor Details

This class inherits a constructor from InsoundApi::ObjectBase

Instance Method Details

#artist_nameObject



4
5
6
# File 'lib/insound_api/product.rb', line 4

def artist_name
  @artist_name ||= parse_str('artist_name')
end

#formatObject



8
9
10
# File 'lib/insound_api/product.rb', line 8

def format
  @format ||= parse_str('format')
end

#idObject



12
13
14
# File 'lib/insound_api/product.rb', line 12

def id
  @id ||= parse_str('product_id')
end