Sha256: 2354631655999400fe31f69291c5d1063ec362c4a76031422cf02586d64e3cd1
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
module Troo module Retrieval class Card < Resource class << self def all Troo::Card.all end end private def default Troo::Card.default end def by_id Troo::Card[id] end def by_short_id Troo::Card.first(short_id: id) end def by_external_id Troo::Card.first(external_card_id: id) end def remote Troo::Card.remote(id) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.8 | lib/troo/models/retrieval/card.rb |