Module: Siren::Json::Object1

Defined in:
lib/siren/json.rb

Instance Method Summary collapse

Instance Method Details

#firstObject



106
107
108
# File 'lib/siren/json.rb', line 106

def first
  elements[0]
end

#othersObject



110
111
112
# File 'lib/siren/json.rb', line 110

def others
  elements[1]
end