Sha256: db9fe48679616497302932e58b01540def120c1af93065410219d6641126aa29
Contents?: true
Size: 358 Bytes
Versions: 2
Compression:
Stored size: 358 Bytes
Contents
module Zelda class Zender < Zelda::Base class << self def find(id) attrs = Request.get("zenders/#{id}") attrs ? new(attrs) : nil end def all Request.get("zenders") end end def name @attrs["zender"]["name"] end def code @attrs["zender"]["code"] end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
bartzon-zelda-0.0.5 | lib/zelda/zender.rb |
zelda-0.1.0 | lib/zelda/zender.rb |