quandl_client 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/UPGRADE.md
CHANGED
@@ -16,7 +16,7 @@ class Quandl::Client::Dataset < Quandl::Client::Base
|
|
16
16
|
###############
|
17
17
|
|
18
18
|
def source
|
19
|
-
@source ||= Source.find(self.source_code)
|
19
|
+
@source ||= Quandl::Client::Source.find(self.source_code)
|
20
20
|
end
|
21
21
|
|
22
22
|
###############
|
@@ -49,7 +49,7 @@ class Quandl::Client::Dataset < Quandl::Client::Base
|
|
49
49
|
# DATA
|
50
50
|
|
51
51
|
def data
|
52
|
-
dataset_data.data? ? dataset_data.data : Dataset::Data.with_id(id)
|
52
|
+
dataset_data.data? ? dataset_data.data : Quandl::Client::Dataset::Data.with_id(id)
|
53
53
|
end
|
54
54
|
|
55
55
|
def data=(value)
|
@@ -73,7 +73,7 @@ class Quandl::Client::Dataset < Quandl::Client::Base
|
|
73
73
|
end
|
74
74
|
|
75
75
|
def dataset_data
|
76
|
-
@dataset_data ||= Dataset::Data.new( id: id )
|
76
|
+
@dataset_data ||= Quandl::Client::Dataset::Data.new( id: id )
|
77
77
|
end
|
78
78
|
|
79
79
|
after_save :save_dataset_data
|
@@ -15,11 +15,11 @@ class Sheet < Quandl::Client::Base
|
|
15
15
|
################
|
16
16
|
|
17
17
|
def parent
|
18
|
-
@parent ||= Sheet.find(parent_url_title)
|
18
|
+
@parent ||= Quandl::Client::Sheet.find(parent_url_title)
|
19
19
|
end
|
20
20
|
|
21
21
|
def children
|
22
|
-
Sheet.parent_url_title(self.full_url_title)
|
22
|
+
Quandl::Client::Sheet.parent_url_title(self.full_url_title)
|
23
23
|
end
|
24
24
|
|
25
25
|
|
@@ -37,7 +37,7 @@ class Sheet < Quandl::Client::Base
|
|
37
37
|
attributes :title, :content, :url_title, :full_url_title, :description
|
38
38
|
|
39
39
|
def html
|
40
|
-
@html ||= self.attributes[:html] || Sheet.find(full_url_title).attributes[:html]
|
40
|
+
@html ||= self.attributes[:html] || Quandl::Client::Sheet.find(full_url_title).attributes[:html]
|
41
41
|
end
|
42
42
|
|
43
43
|
def parent_url_title
|