lib/zumata_v3/client.rb in zumata_v3-0.0.1 vs lib/zumata_v3/client.rb in zumata_v3-0.0.2
- old
+ new
@@ -1,8 +1,7 @@
require 'httparty'
require 'time'
-require 'awesome_print'
require 'json'
module ZumataV3
class HotelClient
include HTTParty
@@ -99,9 +98,10 @@
def init_headers opts={}
headers = {"X-Api-Key" => @api_key}
if opts[:headers] != nil && opts[:headers].class == Hash
headers = headers.merge(opts[:headers])
end
+ headers
end
end
end