Class: Printavo::Product

Inherits:
Models::Base show all
Defined in:
lib/printavo/models/product.rb

Instance Method Summary collapse

Methods inherited from Models::Base

#==, #[], #dig, #initialize, #inspect, #to_h

Constructor Details

This class inherits a constructor from Printavo::Models::Base

Instance Method Details

#descriptionObject



9
# File 'lib/printavo/models/product.rb', line 9

def description = self['description']

#idObject



6
# File 'lib/printavo/models/product.rb', line 6

def id          = self['id']

#nameObject



7
# File 'lib/printavo/models/product.rb', line 7

def name        = self['name']

#skuObject



8
# File 'lib/printavo/models/product.rb', line 8

def sku         = self['sku']