Class: Bamboozled::API::Base
- Inherits:
-
Object
- Object
- Bamboozled::API::Base
- Defined in:
- lib/bamboozled/api/base.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
readonly
Returns the value of attribute api_key.
-
#subdomain ⇒ Object
readonly
Returns the value of attribute subdomain.
Instance Method Summary collapse
-
#initialize(subdomain, api_key) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(subdomain, api_key) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/bamboozled/api/base.rb', line 10 def initialize(subdomain, api_key) @subdomain, @api_key = subdomain, api_key end |
Instance Attribute Details
#api_key ⇒ Object (readonly)
Returns the value of attribute api_key.
8 9 10 |
# File 'lib/bamboozled/api/base.rb', line 8 def api_key @api_key end |
#subdomain ⇒ Object (readonly)
Returns the value of attribute subdomain.
8 9 10 |
# File 'lib/bamboozled/api/base.rb', line 8 def subdomain @subdomain end |