Module: Paghiper

Defined in:
lib/paghiper.rb,
lib/paghiper/client.rb,
lib/paghiper/version.rb,
lib/paghiper/transaction.rb,
lib/rails/generators/paghiper/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Client, Configuration, MissingApiKeyError, Transaction

Constant Summary collapse

VERSION =
'0.1.1'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/paghiper.rb', line 9

def configuration
  @configuration
end

Class Method Details

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

Yields:



12
13
14
15
16
# File 'lib/paghiper.rb', line 12

def self.configure
  self.configuration ||= Configuration.new

  yield(configuration)
end