Class: Itunes::Transporter::Product

Inherits:
Struct
  • Object
show all
Defined in:
lib/itunes/transporter.rb,
lib/itunes/transporter/in_app_purchase.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#cleared_for_saleObject

Returns the value of attribute cleared_for_sale

Returns:

  • (Object)

    the current value of cleared_for_sale



39
40
41
# File 'lib/itunes/transporter.rb', line 39

def cleared_for_sale
  @cleared_for_sale
end

#intervalsObject

Returns the value of attribute intervals

Returns:

  • (Object)

    the current value of intervals



39
40
41
# File 'lib/itunes/transporter.rb', line 39

def intervals
  @intervals
end

#should_removeObject

Returns the value of attribute should_remove

Returns:

  • (Object)

    the current value of should_remove



39
40
41
# File 'lib/itunes/transporter.rb', line 39

def should_remove
  @should_remove
end

#wholesale_price_tierObject

Returns the value of attribute wholesale_price_tier

Returns:

  • (Object)

    the current value of wholesale_price_tier



39
40
41
# File 'lib/itunes/transporter.rb', line 39

def wholesale_price_tier
  @wholesale_price_tier
end

Instance Method Details

#to_sObject



40
41
42
# File 'lib/itunes/transporter.rb', line 40

def to_s
  "Cleared for sale: #{self.cleared_for_sale}, Tier: #{self.wholesale_price_tier}"
end