Module: Tacokit

Defined in:
lib/tacokit/utils.rb,
lib/tacokit.rb,
lib/tacokit/error.rb,
lib/tacokit/client.rb,
lib/tacokit/version.rb,
lib/tacokit/resource.rb,
lib/tacokit/response.rb,
lib/tacokit/transform.rb,
lib/tacokit/collection.rb,
lib/tacokit/middleware.rb,
lib/tacokit/client/cards.rb,
lib/tacokit/client/lists.rb,
lib/tacokit/client/types.rb,
lib/tacokit/authorization.rb,
lib/tacokit/client/boards.rb,
lib/tacokit/client/labels.rb,
lib/tacokit/client/tokens.rb,
lib/tacokit/configuration.rb,
lib/tacokit/client/actions.rb,
lib/tacokit/client/members.rb,
lib/tacokit/client/searches.rb,
lib/tacokit/client/webhooks.rb,
lib/tacokit/client/checklists.rb,
lib/tacokit/client/notifications.rb,
lib/tacokit/client/organizations.rb,
lib/tacokit/middleware/raise_error.rb

Overview

Emulate only what we need from activesupport

Defined Under Namespace

Modules: Authorization, Middleware, Utils Classes: Client, Collection, Configuration, Error, Resource, Response, Transform

Constant Summary collapse

VERSION =
"0.4.0".freeze

Class Method Summary collapse

Class Method Details

.clientObject


3
4
5
# File 'lib/tacokit.rb', line 3

def client
  @client ||= Tacokit::Client.new
end

.method_missing(method_name, *args, &block) ⇒ Object


7
8
9
10
# File 'lib/tacokit.rb', line 7

def method_missing(method_name, *args, &block)
  return super unless client.respond_to?(method_name)
  client.send(method_name, *args, &block)
end