Module: RubyApiPackCloudways

Defined in:
lib/ruby_api_pack_cloudways.rb,
lib/ruby_api_pack_cloudways/version.rb,
lib/ruby_api_pack_cloudways/api/cw_lists.rb,
lib/ruby_api_pack_cloudways/api/cw_server.rb,
lib/ruby_api_pack_cloudways/configuration.rb,
lib/ruby_api_pack_cloudways/connection/cw_token.rb,
lib/ruby_api_pack_cloudways/connection/cw_connect.rb,
lib/ruby_api_pack_cloudways/handlers/response_validator.rb

Defined Under Namespace

Modules: Api, Connection, Handlers Classes: Configuration

Constant Summary collapse

VERSION =
'0.4.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



15
16
17
# File 'lib/ruby_api_pack_cloudways.rb', line 15

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



17
18
19
20
# File 'lib/ruby_api_pack_cloudways.rb', line 17

def configure
  self.configuration ||= Configuration.new
  yield(configuration)
end