Module: RunApi

Defined in:
lib/runapi/core/auth.rb,
lib/runapi/core/types.rb,
lib/runapi/core/errors.rb,
lib/runapi/core/polling.rb,
lib/runapi/core/version.rb,
lib/runapi/core/constants.rb,
lib/runapi/core/base_model.rb,
lib/runapi/core/http_client.rb,
lib/runapi/core/configuration.rb,
lib/runapi/core/resource_helpers.rb

Defined Under Namespace

Modules: Core

Constant Summary collapse

VERSION =
Core::VERSION

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



5
6
7
# File 'lib/runapi/core/configuration.rb', line 5

def api_key
  @api_key
end

.base_urlObject

Returns the value of attribute base_url.



5
6
7
# File 'lib/runapi/core/configuration.rb', line 5

def base_url
  @base_url
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (RunApi)

    the object that the method was called on



7
8
9
# File 'lib/runapi/core/configuration.rb', line 7

def configure
  yield self
end