Class: ActiveSmsgate::Gateway::Amegainform::ResultSms::Message
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- ActiveSmsgate::Gateway::Amegainform::ResultSms::Message
- Defined in:
- lib/active_smsgate/gateways/amegainform.rb
Instance Method Summary collapse
- #complete ⇒ Object (also: #complete?)
- #failure ⇒ Object (also: #failure?)
- #success ⇒ Object (also: #success?)
Instance Method Details
#complete ⇒ Object Also known as: complete?
187 |
# File 'lib/active_smsgate/gateways/amegainform.rb', line 187 def complete; true if sms_closed.to_i == 1; end |
#failure ⇒ Object Also known as: failure?
193 |
# File 'lib/active_smsgate/gateways/amegainform.rb', line 193 def failure; true unless success?; end |
#success ⇒ Object Also known as: success?
190 |
# File 'lib/active_smsgate/gateways/amegainform.rb', line 190 def success; true if sms_sent.to_i == 1; end |