Skip to content

Instantly share code, notes, and snippets.

@chaslemley
Last active August 29, 2015 14:01
Show Gist options
  • Save chaslemley/fcd3306e42de766e4177 to your computer and use it in GitHub Desktop.
Save chaslemley/fcd3306e42de766e4177 to your computer and use it in GitHub Desktop.
{:available_on=>Tue, 13 May 2014, :display_total_price=>false, :hotel_id=>1255, :id=>1332736, :room_type_id=>1, :sold_out=>false, :sold_out_at=>nil, :available_nights=>[{:num_nights=>1, :num_remaining=>1, :customer_net_price=>300, :customer_tax_amount=>49, :customer_gross_price=>349, :customer_net_price_average=>300, :customer_tax_amount_average=>49, :customer_gross_price_average=>349, :customer_regular_net_price=>nil, :customer_regular_tax_amount=>nil, :customer_regular_gross_price=>nil}, {:num_nights=>2, :num_remaining=>1, :customer_net_price=>300, :customer_tax_amount=>49, :customer_gross_price=>349, :customer_net_price_average=>150, :customer_tax_amount_average=>24, :customer_gross_price_average=>174, :customer_regular_net_price=>nil, :customer_regular_tax_amount=>nil, :customer_regular_gross_price=>nil}, {:num_nights=>3, :num_remaining=>1, :customer_net_price=>300, :customer_tax_amount=>49, :customer_gross_price=>349, :customer_net_price_average=>100, :customer_tax_amount_average=>16, :customer_gross_price_average=>116, :customer_regular_net_price=>nil, :customer_regular_tax_amount=>nil, :customer_regular_gross_price=>nil}, {:num_nights=>4, :num_remaining=>1, :customer_net_price=>300, :customer_tax_amount=>49, :customer_gross_price=>349, :customer_net_price_average=>75, :customer_tax_amount_average=>12, :customer_gross_price_average=>87, :customer_regular_net_price=>nil, :customer_regular_tax_amount=>nil, :customer_regular_gross_price=>nil}, {:num_nights=>5, :num_remaining=>1, :customer_net_price=>300, :customer_tax_amount=>49, :customer_gross_price=>349, :customer_net_price_average=>60, :customer_tax_amount_average=>9, :customer_gross_price_average=>69, :customer_regular_net_price=>nil, :customer_regular_tax_amount=>nil, :customer_regular_gross_price=>nil}], :deal_type=>:dynamic}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment