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