Module: MercadoPago

Defined in:
lib/mercado_pago.rb,
lib/mercado_pago/version.rb,
lib/mercado_pago/configuration.rb,
lib/mercado_pago/entities/base.rb,
lib/mercado_pago/entities/item.rb,
lib/mercado_pago/entities/payer.rb,
lib/mercado_pago/entities/phone.rb,
lib/mercado_pago/entities/address.rb,
lib/mercado_pago/actions/base_action.rb,
lib/mercado_pago/entities/disbursement.rb,
lib/mercado_pago/entities/payment_info.rb,
lib/mercado_pago/entities/identification.rb,
lib/mercado_pago/entities/advanced_payment.rb,
lib/mercado_pago/actions/create_advanced_payment.rb,
lib/mercado_pago/actions/refund_advanced_payment.rb,
lib/mercado_pago/actions/search_advanced_payment.rb,
lib/mercado_pago/entities/disbursement/additional_info.rb

Defined Under Namespace

Classes: Address, AdvancedPayment, Base, BaseAction, Configuration, CreateAdvancedPayment, Disbursement, Identification, Item, Payer, PaymentInfo, Phone, RefundAdvancedPayment, SearchAdvancedPayment

Constant Summary collapse

VERSION =
"0.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



11
12
13
14
15
# File 'lib/mercado_pago.rb', line 11

def configure
  self.configuration ||= Configuration.new
  yield configuration if block_given?
  configuration
end