Sha256: db8eb7fb87ac12f075353aa81bf632ecbac72316d4fe1c636c37feae21a498f7
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
module Typekit module Record class Family < Element::Base include Element::Association include Element::Query include Element::Serialization has_many :libraries has_many :variations def complete? attribute?(:libraries) && attribute?(:variations) end def load! become(process(:show, id)) true end def load load! rescue ServerError false end def serialize super(only: [:id, :subset, :variations]) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typekit-client-0.0.6 | lib/typekit/record/family.rb |