brandmward icon

Rails Remix Alternative

brandmward | PRO | 05/08/14 12:19:25 PM UTC | 0 ⭐ | 7003 👁️ | Never ⏰ | []
Rails |

240 B

|

None

|

0 👍

/

0 👎

require 'httparty'
 
class BestBuy
  include HTTParty
  base_uri 'api.remix.bestbuy.com'
  default_params :apiKey => 'YOUR_API_KEY_HERE'
 
  def self.getStores(zip, distance)
    get("/v1/stores(area(#{zip},#{distance}))")
  end
end

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎