Class: Typekit::Client
- Inherits:
-
Object
- Object
- Typekit::Client
- Extended by:
- Forwardable
- Defined in:
- lib/typekit/client.rb
Instance Method Summary collapse
-
#initialize(config: :default, **options) ⇒ Client
constructor
A new instance of Client.
- #perform(*arguments) ⇒ Object
Constructor Details
#initialize(config: :default, **options) ⇒ Client
Returns a new instance of Client.
11 12 13 |
# File 'lib/typekit/client.rb', line 11 def initialize(config: :default, **) @config = Configuration.build(config, **) end |
Instance Method Details
#perform(*arguments) ⇒ Object
15 16 17 |
# File 'lib/typekit/client.rb', line 15 def perform(*arguments) translate(dispatch(trace(*arguments))) end |