Sha256: 405491f29b93d2ed19956d57de1cb80c662dbd84be4858997eed79c776a23373
Contents?: true
Size: 756 Bytes
Versions: 3
Compression:
Stored size: 756 Bytes
Contents
require 'quandl/command/tasks/search' class Quandl::Command::Tasks::List < Quandl::Command::Tasks::Search autoload_quandl_client description "List datasets matching conditions." options({ String => { query: "Only return datasets matching: [query]", code: "Return datasets where code matches [code]", }, Integer => { limit: "Limit the number of datasets returned by the search. Defaults to unlimited.", page: "Return datasets starting from: [page]", } }) authenticated_users_only! def execute Quandl::Client::Dataset.owner('myself').where( declared_params ).each_in_page do |dataset| present(dataset) end end def query 'myself' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quandl-0.3.4 | lib/quandl/command/tasks/list.rb |
quandl-0.3.3 | lib/quandl/command/tasks/list.rb |
quandl-0.3.0 | lib/quandl/command/tasks/list.rb |