module Typekit::Client::Proxy
Attributes
client[RW]
token[RW]
Public Instance Methods
connect(object = nil, token = Helper.tokenize(self.class))
click to toggle source
# File lib/typekit/client.rb, line 68 def connect(object = nil, token = Helper.tokenize(self.class)) self.client = object.respond_to?(:client) ? object.client : object self.token = token end
Private Instance Methods
process(action, *arguments)
click to toggle source
# File lib/typekit/client.rb, line 77 def process(action, *arguments) raise Error, 'Client is not specified' if client.nil? client.process(action, token, *arguments) end