Sha256: aa712971d3201b3e71d0a846f59734f4bcda6550b9dfa0cbd7cab83ea698b8ef
Contents?: true
Size: 179 Bytes
Versions: 3
Compression:
Stored size: 179 Bytes
Contents
class StatusCake::Error < StandardError attr_reader :json def initialize(json) @json = json super(json['Error']) end def err_no json['ErrNo'].to_i end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
statuscake-0.1.2 | lib/statuscake/error.rb |
statuscake-0.1.1 | lib/statuscake/error.rb |
statuscake-0.1.0 | lib/statuscake/error.rb |