Sha256: b40c5cd1edb4c7ba30d6d88874efd243c111fb1e00f0885c5220c993377c1bd3

Contents?: true

Size: 201 Bytes

Versions: 4

Compression:

Stored size: 201 Bytes

Contents

module Zumata

  class GenericResponse
    attr_reader :context, :code, :body

    def initialize res
      @context = res[:context]
      @code = res[:code]
      @body = res[:body]
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zumata-0.0.4 lib/zumata/responses.rb
zumata-0.0.3 lib/zumata/responses.rb
zumata-0.0.2 lib/zumata/responses.rb
zumata-0.0.1 lib/zumata/responses.rb