module Voog

Constants

VERSION

Attributes

api_token[RW]
auto_paginate[RW]
host[RW]
per_page[RW]

Public Class Methods

client(options = {}) click to toggle source
# 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
configure() { |self| ... } click to toggle source
# File lib/voog_api.rb, line 18
def configure
  yield self
  true
end
respond_to?(method_name, include_private = false) click to toggle source
Calls superclass method
# File lib/voog_api.rb, line 33
def respond_to?(method_name, include_private = false)
  client.respond_to?(method_name, include_private) || super
end
respond_to_missing?(method_name, include_private = false) click to toggle source
# File lib/voog_api.rb, line 25
def respond_to_missing?(method_name, include_private = false)
  client.respond_to?(method_name, include_private)
end

Private Class Methods

method_missing(method_name, *args, &block) click to toggle source
Calls superclass method
# File lib/voog_api.rb, line 41
def method_missing(method_name, *args, &block)
  return super unless client.respond_to?(method_name)
  client.send(method_name, *args, &block)
end