Class: Avmtrf1::RestProvider::Entity

Inherits:
Object
  • Object
show all
Includes:
EacRubyUtils::SimpleCache
Defined in:
lib/avmtrf1/rest_provider/entity.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instance, data) ⇒ Entity

Returns a new instance of Entity.


12
13
14
15
# File 'lib/avmtrf1/rest_provider/entity.rb', line 12

def initialize(instance, data)
  @instance = instance
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.


10
11
12
# File 'lib/avmtrf1/rest_provider/entity.rb', line 10

def data
  @data
end

#instanceObject (readonly)

Returns the value of attribute instance.


10
11
12
# File 'lib/avmtrf1/rest_provider/entity.rb', line 10

def instance
  @instance
end