Exception: YandexMoney::FieldNotSetError

Inherits:
Error
  • Object
show all
Defined in:
lib/yandex_money/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(field) ⇒ FieldNotSetError

Returns a new instance of FieldNotSetError.



27
28
29
# File 'lib/yandex_money/exceptions.rb', line 27

def initialize(field)
  @field = field
end

Instance Method Details

#messageObject



31
32
33
# File 'lib/yandex_money/exceptions.rb', line 31

def message
  "Field '#{@field}' not set!"
end