Class: AdRoll::Api::Organization
- Defined in:
- lib/adroll/organization.rb
Class Method Summary collapse
- .get(organization: nil) ⇒ Object
- .get_advertisables(organization: nil) ⇒ Object
- .get_billing_methods(organization: nil) ⇒ Object
- .get_users(organization: nil) ⇒ Object
- .reset(organization:) ⇒ Object
Class Method Details
.get(organization: nil) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/adroll/organization.rb', line 5 def get(organization: nil) params = { organization: organization } call_api(:get, __method__, params) end |
.get_advertisables(organization: nil) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/adroll/organization.rb', line 13 def get_advertisables(organization: nil) params = { organization: organization } call_api(:get, __method__, params) end |
.get_billing_methods(organization: nil) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/adroll/organization.rb', line 21 def get_billing_methods(organization: nil) params = { organization: organization } call_api(:get, __method__, params) end |
.get_users(organization: nil) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/adroll/organization.rb', line 29 def get_users(organization: nil) params = { organization: organization } call_api(:get, __method__, params) end |
.reset(organization:) ⇒ Object
37 38 39 40 41 42 43 |
# File 'lib/adroll/organization.rb', line 37 def reset(organization:) params = { organization: organization } call_api(:get, __method__, params) end |