Module: Stir

Defined in:
lib/stir/base.rb,
lib/stir/version.rb,
lib/stir/base/client.rb,
lib/stir/base/response.rb,
lib/stir/rest/endpoints.rb,
lib/stir/soap/operations.rb,
lib/stir/rest/rest_client.rb,
lib/stir/soap/soap_client.rb,
lib/stir/base/configuration.rb,
lib/stir/rest/rest_configuration.rb,
lib/stir/soap/soap_configuration.rb

Defined Under Namespace

Modules: Base, Endpoints, Operations, RestConfiguration, SoapConfiguration Classes: PathNotFoundError, RestClient, SoapClient

Constant Summary collapse

VERSION =
'2.2.3'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.environmentObject

Returns the value of attribute environment.



17
18
19
# File 'lib/stir/base.rb', line 17

def environment
  @environment
end

.pathObject

Returns the value of attribute path.



17
18
19
# File 'lib/stir/base.rb', line 17

def path
  @path
end

.versionObject

Returns the value of attribute version.



17
18
19
# File 'lib/stir/base.rb', line 17

def version
  @version
end

Class Method Details

.configurationObject



24
25
26
# File 'lib/stir/base.rb', line 24

def configuration
  instance_values.symbolize_keys
end

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Stir)

    the object that the method was called on



19
20
21
22
# File 'lib/stir/base.rb', line 19

def configure
  yield self
  load_clients
end