Class: Roar::JSON::HAL::Links::ArrayLink
- Inherits:
-
Array
- Object
- Array
- Roar::JSON::HAL::Links::ArrayLink
- Defined in:
- lib/roar/json/hal.rb
Defined Under Namespace
Classes: Representer
Instance Attribute Summary collapse
-
#rel ⇒ Object
readonly
Returns the value of attribute rel.
Instance Method Summary collapse
-
#initialize(rel, links) ⇒ ArrayLink
constructor
A new instance of ArrayLink.
Constructor Details
#initialize(rel, links) ⇒ ArrayLink
111 112 113 114 |
# File 'lib/roar/json/hal.rb', line 111 def initialize(rel, links) @rel = rel super(links) end |
Instance Attribute Details
#rel ⇒ Object (readonly)
Returns the value of attribute rel
115 116 117 |
# File 'lib/roar/json/hal.rb', line 115 def rel @rel end |