lib/etsy/basic_client.rb in etsy-0.2.1 vs lib/etsy/basic_client.rb in etsy-0.2.2
- old
+ new
@@ -6,11 +6,11 @@
#
class BasicClient
# Create a new client that will connect to the specified host
#
- def initialize(host)
- @host = host
+ def initialize
+ @host = Etsy.host
end
def client # :nodoc:
@client ||= Net::HTTP.new(@host)
end