Exception: RakutenApi::ServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/rakuten_api/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#statusObject (readonly)

Returns the value of attribute status.



8
9
10
# File 'lib/rakuten_api/error.rb', line 8

def status
  @status
end

Instance Method Details

#initilize(message, status) ⇒ Object



9
10
11
12
# File 'lib/rakuten_api/error.rb', line 9

def initilize(message, status)
  super(message)
  @status = status
end