class Fontist::Import::Google::CreateGoogleFormula

Constants

POSSIBLE_LICENSE_FILES
REPO_PATH

Public Class Methods

new(item, options = {}) click to toggle source
# File lib/fontist/import/google/create_google_formula.rb, line 15
def initialize(item, options = {})
  @item = item
  @options = options
end

Public Instance Methods

call() click to toggle source
# File lib/fontist/import/google/create_google_formula.rb, line 20
def call
  builder = FormulaBuilder.new
  builder.options = options
  builder.resources = resources
  builder.font_files = font_files
  builder.license_text = license_text
  builder.save
end