Class: Diesel::APIBase
- Inherits:
-
Object
- Object
- Diesel::APIBase
- Defined in:
- lib/diesel/api_base.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#options ⇒ Object
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ APIBase
constructor
A new instance of APIBase.
Constructor Details
#initialize(options = {}) ⇒ APIBase
Returns a new instance of APIBase.
11 12 13 |
# File 'lib/diesel/api_base.rb', line 11 def initialize( = {}) @options = end |
Instance Attribute Details
#logger ⇒ Object
Returns the value of attribute logger.
9 10 11 |
# File 'lib/diesel/api_base.rb', line 9 def logger @logger end |
#options ⇒ Object
Returns the value of attribute options.
9 10 11 |
# File 'lib/diesel/api_base.rb', line 9 def @options end |
Class Method Details
.api_groups ⇒ Object
21 |
# File 'lib/diesel/api_base.rb', line 21 def api_groups; @api_groups ||= []; end |
.api_groups=(api_groups) ⇒ Object
22 23 24 |
# File 'lib/diesel/api_base.rb', line 22 def api_groups=(api_groups) @api_groups = api_groups end |