Exception: EmailYak::APIResponseCodeError

Inherits:
EmailYakError
  • Object
show all
Defined in:
lib/emailyak.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, rcode, rbody)
  super(message)
  @rcody = rcode
  @rbody = rbody
end

Instance Attribute Details

#rbodyObject (readonly)

Returns the value of attribute rbody.



52
53
54
# File 'lib/emailyak.rb', line 52

def rbody
  @rbody
end

#rcodeObject (readonly)

Returns the value of attribute rcode.



52
53
54
# File 'lib/emailyak.rb', line 52

def rcode
  @rcode
end