Sha256: 4ab784a5c7870c11bd87e1e492414e39606841dca087c8de0cf906f061a00192
Contents?: true
Size: 363 Bytes
Versions: 2
Compression:
Stored size: 363 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH.unshift File.join(File.dirname(__FILE__), *%w(.. lib)) require 'VIAJERO' location = ARGV[0] unless location puts 'no location' exit(1) end unless ENV['AIRBNB_API'] puts 'you haven\'t set your environment variable yet' exit(1) end airbnb_load = Airbnb::RentInfo.find(location: location) rooms = airbnb_load.infos puts rooms
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
VIAJERO-0.1.74 | bin/rent |
VIAJERO-0.1.73 | bin/rent |