Module: YandexCheckout::Optional

Included in:
Entity::Amount, Entity::Card, Entity::Confirmation, Entity::PaymentMethod, Error
Defined in:
lib/yandex-checkout/optional.rb

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args, &block) ⇒ Object (private)



19
20
21
# File 'lib/yandex-checkout/optional.rb', line 19

def method_missing(*args, &block)
  respond_to_missing?(*args) ? __options__.send(*args, &block) : super
end