Class: BundleUp::Resources::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/bundleup/resources/base.rb

Overview

Base class for API resources.

Direct Known Subclasses

Connection, Integration, Webhook

Constant Summary collapse

BASE_URL =
'https://api.bundleup.io'
API_VERSION =
'v1'

Instance Method Summary collapse

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