class Etsy::BasicClient

BasicClient

Used for calling public API methods.

Public Class Methods

new() click to toggle source

Create a new client that will connect to the specified host

# File lib/etsy/basic_client.rb, line 11
def initialize
  @host = Etsy.host
end

Public Instance Methods

get(endpoint) click to toggle source

Fetch a raw response from the specified endpoint

# File lib/etsy/basic_client.rb, line 27
def get(endpoint)
  client.get(endpoint)
end