Class: Tataru::Representations::OutputRepresentation
- Inherits:
-
Tataru::Representation
- Object
- Tataru::Representation
- Tataru::Representations::OutputRepresentation
- Defined in:
- lib/tataru/representations/output_representation.rb
Overview
internal representation of output
Instance Attribute Summary collapse
-
#output_field_name ⇒ Object
readonly
Returns the value of attribute output_field_name.
-
#resource_name ⇒ Object
readonly
Returns the value of attribute resource_name.
Attributes inherited from Tataru::Representation
Instance Method Summary collapse
- #dependencies ⇒ Object
-
#initialize(resource_name, output_field_name) ⇒ OutputRepresentation
constructor
A new instance of OutputRepresentation.
Constructor Details
#initialize(resource_name, output_field_name) ⇒ OutputRepresentation
Returns a new instance of OutputRepresentation.
9 10 11 12 |
# File 'lib/tataru/representations/output_representation.rb', line 9 def initialize(resource_name, output_field_name) @resource_name = resource_name @output_field_name = output_field_name end |
Instance Attribute Details
#output_field_name ⇒ Object (readonly)
Returns the value of attribute output_field_name.
7 8 9 |
# File 'lib/tataru/representations/output_representation.rb', line 7 def output_field_name @output_field_name end |
#resource_name ⇒ Object (readonly)
Returns the value of attribute resource_name.
7 8 9 |
# File 'lib/tataru/representations/output_representation.rb', line 7 def resource_name @resource_name end |
Instance Method Details
#dependencies ⇒ Object
14 15 16 |
# File 'lib/tataru/representations/output_representation.rb', line 14 def dependencies [@resource_name] end |