Class: Itunes::Transporter::Interval

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

#end_dateObject

Returns the value of attribute end_date

Returns:

  • (Object)

    the current value of end_date



45
46
47
# File 'lib/itunes/transporter.rb', line 45

def end_date
  @end_date
end

#start_dateObject

Returns the value of attribute start_date

Returns:

  • (Object)

    the current value of start_date



45
46
47
# File 'lib/itunes/transporter.rb', line 45

def start_date
  @start_date
end

#wholesale_price_tierObject

Returns the value of attribute wholesale_price_tier

Returns:

  • (Object)

    the current value of wholesale_price_tier



45
46
47
# File 'lib/itunes/transporter.rb', line 45

def wholesale_price_tier
  @wholesale_price_tier
end

Instance Method Details

#to_sObject



46
47
48
# File 'lib/itunes/transporter.rb', line 46

def to_s
  "Start date: #{self.start_date} End Date: #{self.end_date} Tier: #{self.wholesale_price_tier}"
end