Class: Roar::JSON::HAL::Links::ArrayLink

Inherits:
Array
  • Object
show all
Defined in:
lib/roar/json/hal.rb

Defined Under Namespace

Classes: Representer

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#relObject (readonly)

Returns the value of attribute rel


115
116
117
# File 'lib/roar/json/hal.rb', line 115

def rel
  @rel
end