Sha256: 24f45a71b692444e97d3d37e5a9d08368cd319f4d93622074aa31ae4249000b8
Contents?: true
Size: 291 Bytes
Versions: 9
Compression:
Stored size: 291 Bytes
Contents
module Firetower class Room attr_reader :id, :name, :account def initialize(account, attributes={}) @account = account @id = attributes['id'] @name = attributes['name'] end def to_s "#{account.subdomain}/#{id} (#{name})" end end end
Version data entries
9 entries across 9 versions & 1 rubygems