Sha256: 382581f56c6ddcf0f88b398722338012c4dc8d906a2891af908db61148d8b377
Contents?: true
Size: 255 Bytes
Versions: 1
Compression:
Stored size: 255 Bytes
Contents
class AmoCRM::Client class Error < StandardError attr_reader :state, :body def initialize state, body @state = state @body = body end def message to_s end def to_s "#{state}: #{body}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amo_crm-0.2.2 | lib/amo_crm/client/error.rb |