class StatusCake::Error

Attributes

json[R]

Public Class Methods

new(json) click to toggle source
Calls superclass method
# File lib/statuscake/error.rb, line 4
def initialize(json)
  @json = json
  super(json['Error'])
end

Public Instance Methods

err_no() click to toggle source
# File lib/statuscake/error.rb, line 9
def err_no
  json['ErrNo'].to_i
end