Exception: EmailYak::APIResponseCodeError
- Inherits:
-
EmailYakError
- Object
- StandardError
- EmailYakError
- EmailYak::APIResponseCodeError
- Defined in:
- lib/emailyak.rb
Instance Attribute Summary collapse
-
#rbody ⇒ Object
readonly
Returns the value of attribute rbody.
-
#rcode ⇒ Object
readonly
Returns the value of attribute rcode.
Instance Method Summary collapse
-
#initialize(message, rcode, rbody) ⇒ APIResponseCodeError
constructor
A new instance of APIResponseCodeError.
Constructor Details
#initialize(message, rcode, rbody) ⇒ APIResponseCodeError
Returns a new instance of APIResponseCodeError.
54 55 56 57 58 |
# File 'lib/emailyak.rb', line 54 def initialize(, rcode, rbody) super() @rcody = rcode @rbody = rbody end |
Instance Attribute Details
#rbody ⇒ Object (readonly)
Returns the value of attribute rbody.
52 53 54 |
# File 'lib/emailyak.rb', line 52 def rbody @rbody end |
#rcode ⇒ Object (readonly)
Returns the value of attribute rcode.
52 53 54 |
# File 'lib/emailyak.rb', line 52 def rcode @rcode end |