Sha256: c0901ba396537ade50ca974bf40f34a30e4a4024a8f6bb03e73c47a26fa1ad55
Contents?: true
Size: 200 Bytes
Versions: 3
Compression:
Stored size: 200 Bytes
Contents
module Marver module API class Error attr_reader :code, :status def initialize(json) @code = json['code'].to_i @status = json['status'] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
marver-0.0.6 | lib/marver/api/error.rb |
marver-0.0.5 | lib/marver/api/error.rb |
marver-0.0.4 | lib/marver/api/error.rb |