Class: Quandl::Command::Presenters::DatasetPresenter

Inherits:
Quandl::Command::Presenter::Record show all
Defined in:
lib/quandl/command/presenters/dataset_presenter.rb

Direct Known Subclasses

SupersetPresenter

Instance Attribute Summary

Attributes inherited from Quandl::Command::Presenter::Record

#object, #options

Instance Method Summary collapse

Methods inherited from Quandl::Command::Presenter::Record

#as_json, #as_pipes, #as_stderr, #doc?, #docs?, #errors, #errors_without_spaces, #initialize, #message, #status, #to_csv, #to_format, #to_json, #to_pipes, #to_qdf, #to_stderr, #valid?

Constructor Details

This class inherits a constructor from Quandl::Command::Presenter::Record

Instance Method Details

#detailObject



11
12
13
# File 'lib/quandl/command/presenters/dataset_presenter.rb', line 11

def detail
  object.try(:full_url)
end

#idObject



7
8
9
# File 'lib/quandl/command/presenters/dataset_presenter.rb', line 7

def id
  object.try(:full_code)
end