Sha256: 3f7ef9b9fde776c45e9bdf0cbe371cf1179de11a7c270d9800fffe875ff35a2a
Contents?: true
Size: 307 Bytes
Versions: 14
Compression:
Stored size: 307 Bytes
Contents
module Ecoportal module API module Common class BatchResponse attr_reader :status, :body def initialize(status, body) @status = status @body = body end def success? (0..299).include?(status) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems