Sha256: c519f570dff553b555a1892288fea7a9891621078fee6ab69cdeea720fd0d806
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
module Typekit module Configuration class Base attr_reader :version, :format, :token def initialize(version: 1, format: :json, token:) @version = version @format = format @token = token end [ :map, :dispatcher, :processor ].each do |component| class_eval <<-METHOD, __FILE__, __LINE__ + 1 def #{ component } @#{ component } ||= build_#{ component } end METHOD end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typekit-client-0.0.2 | lib/typekit/configuration/base.rb |