Sha256: 6ace3e09739e9da1343219ac1d9ce84736682056a2c05fc109edc6a56e600139

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

module Shoppr
  class GenericResponse
    
    def initialize()
      response = Shoppr::Client.get('/')
      h = Hashie::Mash.new(response["GenericResponse"])     
      
      Shoppr.map_mash_attrs(self, h)    
      
      @server_detail = ServerDetail.new(self.server_detail)  
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppr-0.2.3 lib/shoppr/generic_response.rb