Module: Simplesol
- Defined in:
- lib/simplesol.rb,
lib/simplesol/client.rb,
lib/simplesol/errors.rb,
lib/simplesol/version.rb,
lib/simplesol/configuration.rb
Defined Under Namespace
Modules: Configuration Classes: Client, Error, InvalidApiComponentError, InvalidApiComponentMethodError, InvalidMessageIdError, InvalidRecipientsError, InvalidSignatureError, InvalidUserError, MessageIsEmptyError, NotConfiguredError, NotEnoughMoneyError, SenderIsEmptyError
Constant Summary collapse
- ERRORS =
{ 1 => InvalidUserError, 2 => InvalidSignatureError, 4 => InvalidApiComponentError, 5 => InvalidApiComponentMethodError, 6 => InvalidRecipientsError, 7 => MessageIsEmptyError, 8 => SenderIsEmptyError, 9 => NotEnoughMoneyError, 10 => InvalidMessageIdError }
- VERSION =
"0.0.3"
Class Method Summary collapse
Class Method Details
.debug_message(obj, message) ⇒ Object
9 10 11 |
# File 'lib/simplesol.rb', line 9 def (obj, ) p "#{obj.is_a?(Class) ? obj.name : obj.class.name}> #{}" end |