Method: Voog.client

Defined in:
lib/voog_api.rb

.client(options = {}) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/voog_api.rb', line 10

def client(options = {})
  unless host.nil? && api_token.nil?
    Voog::Client.new(host, api_token, options)
  else
    nil
  end
end