lib/lurch/query.rb
# def link(uri)
#   # TODO: fail if type already set
#   # TODO: set uri and merge in query params from provided uri if any
#   self
# end
def link(uri)
TODO: fail if type already set
TODO: set uri and merge in query params from provided uri if any
self
end
def link ( uri ) TODO : fail if type already set TODO : set uri and merge in query params from provided uri if any self end
def all
      raise ArgumentError, "No type specified for query" if @type.nil?
      @store.load_from_url(uri_builder.resources_uri(@type, to_query))
    end
def all raise ArgumentError , "No type specified for query" if @type . nil? @store . load_from_url ( uri_builder . resources_uri ( @type , to_query ) ) end
def link(uri)
 TODO: fail if type already set
 TODO: set uri and merge in query params from provided uri if any
self
end
def link ( uri ) TODO : fail if type already set TODO : set uri and merge in query params from provided uri if any self end