Class: BundleUp::Resources::Base
- Inherits:
-
Object
- Object
- BundleUp::Resources::Base
- Defined in:
- lib/bundleup/resources/base.rb
Overview
Base class for API resources.
Direct Known Subclasses
Constant Summary collapse
- BASE_URL =
'https://api.bundleup.io'- API_VERSION =
'v1'
Instance Method Summary collapse
-
#initialize(api_key) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(api_key) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/bundleup/resources/base.rb', line 10 def initialize(api_key) @api_key = api_key end |