class Fontist::Import::GoogleImport
Constants
- REPO_PATH
- REPO_URL
Public Class Methods
new(options)
click to toggle source
# File lib/fontist/import/google_import.rb, line 11 def initialize(options) @max_count = options[:max_count] || Google::DEFAULT_MAX_COUNT end
Public Instance Methods
call()
click to toggle source
# File lib/fontist/import/google_import.rb, line 15 def call update_repo count = update_formulas rebuild_index if count.positive? end