Sha256: f2db5c391c242786d9528ff52b21a27c90e383c33e02cf300a8a7d480b3730a4
Contents?: true
Size: 628 Bytes
Versions: 3
Compression:
Stored size: 628 Bytes
Contents
module Quandl module Client class Dataset module Properties extend ActiveSupport::Concern included do include Her::Model use_api Client.her_api attributes :data, :source_code, :code, :name, :urlize_name, :description, :updated_at, :frequency, :from_date, :to_date, :column_names, :private, :type def full_code @full_code ||= File.join(self.source_code, self.code) end def data_table Data::Table.new( raw_data ) end def raw_data @raw_data ||= (self.data || Dataset.find(full_code).data || []) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems