Class: Tremendous::Rest
- Inherits:
-
Object
- Object
- Tremendous::Rest
- Includes:
- Campaign, FundingSource, Invoice, Member, Order, Organization, Product, Reward, Webhook
- Defined in:
- lib/tremendous/rest.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(access_token, uri) ⇒ Rest
constructor
A new instance of Rest.
Methods included from Webhook
Methods included from Reward
Methods included from Product
Methods included from Organization
Methods included from Order
Methods included from Member
Methods included from Invoice
Methods included from FundingSource
Methods included from Campaign
Constructor Details
#initialize(access_token, uri) ⇒ Rest
Returns a new instance of Rest.
15 16 17 18 |
# File 'lib/tremendous/rest.rb', line 15 def initialize(access_token, uri) @access_token = access_token @uri = uri end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
13 14 15 |
# File 'lib/tremendous/rest.rb', line 13 def access_token @access_token end |
#uri ⇒ Object
Returns the value of attribute uri.
13 14 15 |
# File 'lib/tremendous/rest.rb', line 13 def uri @uri end |