Class: Fortnox::API::Repository::Base
- Includes:
- JSONConvertion, Loaders, Savers
- Defined in:
- lib/fortnox/api/repositories/base.rb,
lib/fortnox/api/repositories/base/options.rb
Defined Under Namespace
Classes: Options
Constant Summary
Constants inherited from Base
Base::DEFAULT_HEADERS, Base::HTTP_METHODS
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options) ⇒ Base
constructor
A new instance of Base.
Methods included from Savers
Methods included from Loaders
#all, #escape, #find, #find_one_by, #only, #to_query
Methods included from ClassMethods
#get_access_token, #set_headers
Constructor Details
#initialize(options) ⇒ Base
Returns a new instance of Base.
17 18 19 20 21 |
# File 'lib/fortnox/api/repositories/base.rb', line 17 def initialize( ) super() @options = end |