Class: DIT3::Api::Model::Tenant

Inherits:
Object
  • Object
show all
Defined in:
lib/dit3/api/model/tenant.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Tenant

Returns a new instance of Tenant.



5
6
7
# File 'lib/dit3/api/model/tenant.rb', line 5

def initialize hash
    @name = hash['name']
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/dit3/api/model/tenant.rb', line 3

def name
  @name
end