Module: MonopayRuby

Defined in:
lib/monopay-ruby.rb,
lib/monopay-ruby/version.rb,
lib/monopay-ruby/webhooks/validator.rb,
lib/monopay-ruby/webhooks/public_key.rb,
lib/monopay-ruby/invoices/simple_invoice.rb

Defined Under Namespace

Modules: Invoices, Webhooks Classes: Base, Configuration

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.configurationObject



21
22
23
# File 'lib/monopay-ruby.rb', line 21

def self.configuration
  @configuration ||= MonopayRuby::Configuration.new
end

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

Yields:



25
26
27
# File 'lib/monopay-ruby.rb', line 25

def self.configure
  yield(configuration)
end