Class: Offer
- Inherits:
-
AffiliationApiResource::Resource
- Object
- ApiResource::Resource
- AffiliationApiResource::Resource
- Offer
- Defined in:
- lib/affiliation-api-resource/offer.rb
Instance Attribute Summary collapse
-
#badge ⇒ Object
Returns the value of attribute badge.
-
#code ⇒ Object
Returns the value of attribute code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#ppc_url ⇒ Object
Returns the value of attribute ppc_url.
-
#ppv_url ⇒ Object
Returns the value of attribute ppv_url.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
Instance Attribute Details
#badge ⇒ Object
Returns the value of attribute badge.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def badge @badge end |
#code ⇒ Object
Returns the value of attribute code.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def code @code end |
#description ⇒ Object
Returns the value of attribute description.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def description @description end |
#end_date ⇒ Object
Returns the value of attribute end_date.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def end_date @end_date end |
#id ⇒ Object
Returns the value of attribute id.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def name @name end |
#ppc_url ⇒ Object
Returns the value of attribute ppc_url.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def ppc_url @ppc_url end |
#ppv_url ⇒ Object
Returns the value of attribute ppv_url.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def ppv_url @ppv_url end |
#start_date ⇒ Object
Returns the value of attribute start_date.
2 3 4 |
# File 'lib/affiliation-api-resource/offer.rb', line 2 def start_date @start_date end |