Module: TinkoffClient
- Defined in:
- lib/tinkoff_client.rb,
lib/tinkoff_client/version.rb,
lib/tinkoff_client/send_request.rb,
lib/tinkoff_client/configuration.rb,
lib/tinkoff_client/payout/payout.rb,
lib/tinkoff_client/payout/request.rb,
lib/tinkoff_client/payment/payment.rb,
lib/tinkoff_client/payment/request.rb,
lib/tinkoff_client/payout/encrypt_data.rb,
lib/tinkoff_client/payment/encrypt_card_data.rb,
lib/tinkoff_client/generators/tinkoff_client_generator.rb
Defined Under Namespace
Modules: Generators, Payment, Payout, SendRequest Classes: Configuration, Error
Constant Summary collapse
- VERSION =
"0.4.0"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Methods included from Payout
add_card, add_customer, get_card_list, get_customer, get_state, init, payment, remove_card, remove_customer
Methods included from Payment
cancel, check_order, confirm, finish_authorize, get_state, init, send_closing_receipt
Methods included from Payment::EncryptCardData
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
15 16 17 |
# File 'lib/tinkoff_client.rb', line 15 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
26 27 28 |
# File 'lib/tinkoff_client.rb', line 26 def self.configure yield(configuration) end |
.reset ⇒ Object
22 23 24 |
# File 'lib/tinkoff_client.rb', line 22 def self.reset @configuration = Configuration.new end |