class Ahora::Collection

Public Instance Methods

target() click to toggle source
# File lib/ahora/representation.rb, line 120
def target
  @document_parser.call(@response.body).search("/*[@type='array']/*").map { |element|
    @instantiator.call element
  }.to_a.compact
end