Skip to content

Instantly share code, notes, and snippets.

View Gregcake's full-sized avatar
💭
Hacking into the mainframe

Greg Tan Gregcake

💭
Hacking into the mainframe
  • TradeGecko
  • Singapore
View GitHub Profile
{:geckoship_zone=>{:name=>"US - Zone 6", :enabled=>true, :countries=>[{:name=>"United States", :code=>"US", :zone_id=>nil, :id=>nil, :provinces=>[{:name=>"Arizona", :code=>"AZ", :country_id=>nil, :id=>nil}, {:name=>"Connecticut", :code=>"CT", :country_id=>nil, :id=>nil}, {:name=>"District of Columbia", :code=>"DC", :country_id=>nil, :id=>nil}, {:name=>"Florida", :code=>"FL", :country_id=>nil, :id=>nil}, {:name=>"Idaho", :code=>"ID", :country_id=>nil, :id=>nil}, {:name=>"Massachusetts", :code=>"MA", :country_id=>nil, :id=>nil}, {:name=>"Maine", :code=>"ME", :country_id=>nil, :id=>nil}, {:name=>"New Hampshire", :code=>"NH", :country_id=>nil, :id=>nil}, {:name=>"Nevada", :code=>"NV", :country_id=>nil, :id=>nil}, {:name=>"Rhode Island", :code=>"RI", :country_id=>nil, :id=>nil}, {:name=>"Vermont", :code=>"VT", :country_id=>nil, :id=>nil}, {:name=>"Washington", :code=>"WA", :country_id=>nil, :id=>nil}]}], :price_based_rates=>[], :weight_based_rates=>[{:min_weight=>"0.1", :max_weight=>"1", :weight_unit=>"lb", :name=
{:geckoship_zone=>{:name=>"US - Zone 5", :enabled=>true, :countries=>[{:name=>"United States", :code=>"US", :zone_id=>nil, :id=>nil, :provinces=>[{:name=>"Alabama", :code=>"AL", :country_id=>nil, :id=>nil}, {:name=>"Arkansas", :code=>"AR", :country_id=>nil, :id=>nil}, {:name=>"Colorado", :code=>"CO", :country_id=>nil, :id=>nil}, {:name=>"Delaware", :code=>"DE", :country_id=>nil, :id=>nil}, {:name=>"Georgia", :code=>"GA", :country_id=>nil, :id=>nil}, {:name=>"Kentucky", :code=>"KY", :country_id=>nil, :id=>nil}, {:name=>"Louisiana", :code=>"LA", :country_id=>nil, :id=>nil}, {:name=>"Maryland", :code=>"MD", :country_id=>nil, :id=>nil}, {:name=>"Mississippi", :code=>"MS", :country_id=>nil, :id=>nil}, {:name=>"Montana", :code=>"MT", :country_id=>nil, :id=>nil}, {:name=>"North Carolina", :code=>"NC", :country_id=>nil, :id=>nil}, {:name=>"New Jersey", :code=>"NJ", :country_id=>nil, :id=>nil}, {:name=>"New Mexico", :code=>"NM", :country_id=>nil, :id=>nil}, {:name=>"New York", :code=>"NY", :country_id=>nil, :id=>nil},
{:geckoship_zone=>{:name=>"US - Zone 4", :enabled=>true, :countries=>[{:name=>"United States", :code=>"US", :zone_id=>nil, :id=>nil, :provinces=>[{:name=>"Illinois", :code=>"IL", :country_id=>nil, :id=>nil}, {:name=>"Indiana", :code=>"IN", :country_id=>nil, :id=>nil}, {:name=>"Kansas", :code=>"KS", :country_id=>nil, :id=>nil}, {:name=>"Michigan", :code=>"MI", :country_id=>nil, :id=>nil}, {:name=>"Missouri", :code=>"MO", :country_id=>nil, :id=>nil}, {:name=>"North Dakota", :code=>"ND", :country_id=>nil, :id=>nil}, {:name=>"Nebraska", :code=>"NE", :country_id=>nil, :id=>nil}, {:name=>"South Dakota", :code=>"SD", :country_id=>nil, :id=>nil}]}], :price_based_rates=>[], :weight_based_rates=>[{:min_weight=>"0.1", :max_weight=>"1", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"8.96", :zone_id=>nil}, {:min_weight=>"1.1", :max_weight=>"2", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"10.15", :zone_id=>nil}, {:min_weight=>"2.1", :max_weight=>"3", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"10.7", :zone_i
{:geckoship_zone=>{:name=>"US - Zone 3", :enabled=>true, :countries=>[{:name=>"United States", :code=>"US", :zone_id=>nil, :id=>nil, :provinces=>[{:name=>"Wisconsin", :code=>"WI", :country_id=>nil, :id=>nil}, {:name=>"Iowa", :code=>"IA", :country_id=>nil, :id=>nil}]}], :price_based_rates=>[], :weight_based_rates=>[{:min_weight=>"0.1", :max_weight=>"1", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"8.65", :zone_id=>nil}, {:min_weight=>"1.1", :max_weight=>"2", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"9.48", :zone_id=>nil}, {:min_weight=>"2.1", :max_weight=>"3", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"9.89", :zone_id=>nil}, {:min_weight=>"3.1", :max_weight=>"4", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"10.05", :zone_id=>nil}, {:min_weight=>"4.1", :max_weight=>"5", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"10.41", :zone_id=>nil}, {:min_weight=>"5.1", :max_weight=>"6", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"10.69", :zone_id=>nil}, {:min_weight=>"6.1", :max_weight=
{:geckoship_zone=>{:name=>"US - Zone 2", :enabled=>true, :countries=>[{:name=>"United States", :code=>"US", :zone_id=>nil, :id=>nil, :provinces=>[{:name=>"Minnesota", :code=>"MN", :country_id=>nil, :id=>nil}]}], :price_based_rates=>[], :weight_based_rates=>[{:min_weight=>"0.1", :max_weight=>"1", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"7.85", :zone_id=>nil}, {:min_weight=>"1.1", :max_weight=>"2", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"8.65", :zone_id=>nil}, {:min_weight=>"2.1", :max_weight=>"3", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"8.87", :zone_id=>nil}, {:min_weight=>"3.1", :max_weight=>"4", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"9.13", :zone_id=>nil}, {:min_weight=>"4.1", :max_weight=>"5", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"9.37", :zone_id=>nil}, {:min_weight=>"5.1", :max_weight=>"6", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"9.68", :zone_id=>nil}, {:min_weight=>"6.1", :max_weight=>"7", :weight_unit=>"lb", :name=>"UPS Ground", :price=>"10.23