Sha256: e5ffc4f877274e5ade7878ed7f2eab8f84a3b237a67cb6f7653f35f1ac3bef0b

Contents?: true

Size: 151 Bytes

Versions: 2

Compression:

Stored size: 151 Bytes

Contents

module Ratlas
  class Response < Array
    
    def initialize(json, as)
      super(json[as].map{|j| Hashie::Mash.new(j)})
    end
        
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ratlas-0.1.2 lib/ratlas/response.rb
ratlas-0.1.1 lib/ratlas/response.rb