Sha256: 27083db957cb6d9c340e7a029071bcfce3223d1fe248e3b6876ae490e09bc258
Contents?: true
Size: 447 Bytes
Versions: 23
Compression:
Stored size: 447 Bytes
Contents
class CityGrid class API # Creates SuperHash from parsed_response # Stores response object in @response. # ------------------------------------ # class Response < CityGrid::Abstraction::SuperHash attr_reader :httparty def self.new httparty_response resp = super httparty_response.parsed_response resp.instance_variable_set "@httparty", httparty_response resp end end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
citygrid_api-0.0.7 | lib/citygrid/api/response.rb |
citygrid_api-0.0.6 | lib/citygrid/api/response.rb |
citygrid_api-0.0.5.1 | lib/citygrid/api/response.rb |