Module: Siren::Json::Array1

Defined in:
lib/siren/json.rb

Instance Method Summary collapse

Instance Method Details

#firstObject



304
305
306
# File 'lib/siren/json.rb', line 304

def first
  elements[0]
end

#othersObject



308
309
310
# File 'lib/siren/json.rb', line 308

def others
  elements[1]
end