Class: Avm::Instances::Application

Inherits:
Object
  • Object
show all
Includes:
Entries
Defined in:
lib/avm/instances/application.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Entries

#entry, #full_entry_path, #inherited_entry_value, #other_entry_value, #path_prefix, #read_entry, #read_entry_optional

Constructor Details

#initialize(id) ⇒ Application

Returns a new instance of Application.



12
13
14
# File 'lib/avm/instances/application.rb', line 12

def initialize(id)
  @id = id.to_s
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



10
11
12
# File 'lib/avm/instances/application.rb', line 10

def id
  @id
end

Instance Method Details

#instance(suffix) ⇒ Object



20
21
22
# File 'lib/avm/instances/application.rb', line 20

def instance(suffix)
  ::Avm::Instances::Base.new(self, suffix)
end

#to_sObject



16
17
18
# File 'lib/avm/instances/application.rb', line 16

def to_s
  id
end