Module: IuguSDK

Defined in:
lib/iugusdk.rb,
lib/iugusdk/engine.rb,
lib/iugusdk/version.rb,
lib/iugusdk/root_tenancy_url.rb,
lib/iugusdk/valid_tenancy_urls.rb,
lib/iugusdk/controllers/helpers.rb,
lib/iugusdk/session_parameter_middleware.rb

Overview

require ‘rack/utils’

Defined Under Namespace

Modules: Controllers Classes: Engine, RootTenancyUrl, SessionParameterMiddleware, ValidTenancyUrls

Constant Summary collapse

VERSION =
"1.0.8"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (IuguSDK)

    the object that the method was called on



137
138
139
140
# File 'lib/iugusdk.rb', line 137

def self.setup
  yield self
  Iugu::Api.token = iws_api_key if self.iws_api_key
end

Instance Method Details

#initializeObject



134
135
# File 'lib/iugusdk.rb', line 134

def initialize
end