Sha256: d9328d82d7de925cd9b9b3c3111cc0ceb97fb9ba8eea615c92e72b8fd4764abf
Contents?: true
Size: 485 Bytes
Versions: 4
Compression:
Stored size: 485 Bytes
Contents
module Access class Hotel include Access::MuchMeta def initialize(values) @used_fields = [] set_up_methods(values) set_values(values) end def self.search(options = {}) Access::Api.new.search_hotels options end def self.find(hotel_key, options = {}) Access::Api.new.find_hotel hotel_key, options end def self.process_batch(chunk) chunk = JSON.parse(chunk.to_json, object_class: OpenStruct) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
access-2.3.0.pre.rc2 | lib/access/hotel.rb |
access-2.3.0.pre.rc1 | lib/access/hotel.rb |
access-2.2.0 | lib/access/hotel.rb |
access-2.1.5 | lib/access/hotel.rb |