Class: Quandl::Command::Presenters::ScraperPresenter
Instance Attribute Summary
#object, #options
Instance Method Summary
collapse
#as_json, #as_stderr, #doc?, #docs?, #errors, #errors_without_spaces, #initialize, #message, #status, #to_csv, #to_format, #to_json, #to_pipes, #to_qdf, #to_stderr, #valid?
Instance Method Details
#as_pipes ⇒ Object
7
8
9
10
11
|
# File 'lib/quandl/command/presenters/scraper_presenter.rb', line 7
def as_pipes
pipes = [object.name]
pipes
end
|
#detail ⇒ Object
17
18
19
|
# File 'lib/quandl/command/presenters/scraper_presenter.rb', line 17
def detail
object.try(:type)
end
|
#id ⇒ Object
13
14
15
|
# File 'lib/quandl/command/presenters/scraper_presenter.rb', line 13
def id
object.try(:name)
end
|