Module: Typekit::Client
- Defined in:
- lib/typekit/client.rb
Defined Under Namespace
Modules: InstanceMethods, Proxy
Class Method Summary collapse
Class Method Details
.new(options) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/typekit/client.rb', line 3 def self.new() raise Error, 'Token is missing' unless .key?(:token) client = Module.new client.extend(InstanceMethods) client.configure(Typekit.defaults.merge()) client end |