Module: Ethikdo

Defined in:
lib/ethikdo.rb,
lib/ethikdo/error.rb,
lib/ethikdo/version.rb,
lib/ethikdo/provision.rb,
lib/ethikdo/base_model.rb,
lib/ethikdo/transaction.rb,
lib/ethikdo/configuration.rb,
lib/generators/ethikdo/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: AuthenticationError, BadRequestError, BaseModel, Configuration, ConnectionError, Error, InternalServerError, NotFoundError, PaymentRequiredError, Provision, ResponseError, ServerError, Transaction

Constant Summary collapse

VERSION =
"1.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



8
9
10
# File 'lib/ethikdo.rb', line 8

def configuration
  @configuration
end

Class Method Details

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

Yields:



19
20
21
# File 'lib/ethikdo.rb', line 19

def self.configure
  yield(configuration)
end

.reset_configurationObject



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

def self.reset_configuration
  @configuration = Configuration.new
end