class Quandl::Client::Dataset

Public Instance Methods

qdf_attributes() click to toggle source
# File lib/quandl/client/dataset/to_qdf.rb, line 11
def qdf_attributes
  Quandl::Format::Dataset.attribute_names.inject({}) do |memo, name|
    memo[name] = self.send(name) if self.respond_to?(name)
    memo
  end
end
to_qdf() click to toggle source
# File lib/quandl/client/dataset/to_qdf.rb, line 6
def to_qdf
  return if !exists? && status != 0
  Quandl::Format::Dataset.new( qdf_attributes ).to_qdf
end