class Typekit::Record::Family

Public Instance Methods

complete?() click to toggle source
# File lib/typekit/record/family.rb, line 11
def complete?
  attribute?(:libraries) && attribute?(:variations)
end
load() click to toggle source
# File lib/typekit/record/family.rb, line 20
def load
  load!
rescue ServerError
  false
end
load!() click to toggle source
# File lib/typekit/record/family.rb, line 15
def load!
  become(process(:show, id))
  true
end
serialize() click to toggle source
# File lib/typekit/record/family.rb, line 26
def serialize
  super(only: [:id, :subset, :variations])
end