Class: Lcms::Engine::RelatedInstructionsService
- Inherits:
-
Object
- Object
- Lcms::Engine::RelatedInstructionsService
- Defined in:
- app/services/lcms/engine/related_instructions_service.rb
Instance Attribute Summary collapse
-
#expanded ⇒ Object
readonly
Returns the value of attribute expanded.
-
#has_more ⇒ Object
readonly
Returns the value of attribute has_more.
-
#instructions ⇒ Object
readonly
Returns the value of attribute instructions.
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Instance Method Summary collapse
-
#initialize(resource, expanded) ⇒ RelatedInstructionsService
constructor
A new instance of RelatedInstructionsService.
Constructor Details
#initialize(resource, expanded) ⇒ RelatedInstructionsService
Returns a new instance of RelatedInstructionsService.
8 9 10 11 12 13 |
# File 'app/services/lcms/engine/related_instructions_service.rb', line 8 def initialize(resource, ) @resource = resource @expanded = end |
Instance Attribute Details
#expanded ⇒ Object (readonly)
Returns the value of attribute expanded.
6 7 8 |
# File 'app/services/lcms/engine/related_instructions_service.rb', line 6 def @expanded end |
#has_more ⇒ Object (readonly)
Returns the value of attribute has_more.
6 7 8 |
# File 'app/services/lcms/engine/related_instructions_service.rb', line 6 def has_more @has_more end |
#instructions ⇒ Object (readonly)
Returns the value of attribute instructions.
6 7 8 |
# File 'app/services/lcms/engine/related_instructions_service.rb', line 6 def instructions @instructions end |
#resource ⇒ Object (readonly)
Returns the value of attribute resource.
6 7 8 |
# File 'app/services/lcms/engine/related_instructions_service.rb', line 6 def resource @resource end |