Class: Quandl::Client::Sheet
- Inherits:
-
Base
- Object
- Base
- Quandl::Client::Sheet
show all
- Defined in:
- lib/quandl/client/models/sheet.rb
Instance Method Summary
collapse
Methods inherited from Base
her_api, models, models_use_her_api!, url_with_version, use
Instance Method Details
#html ⇒ Object
39
40
41
|
# File 'lib/quandl/client/models/sheet.rb', line 39
def html
@html ||= self.attributes[:html] || Quandl::Client::Sheet.find(full_url_title).attributes[:html]
end
|
#parent ⇒ Object
17
18
19
|
# File 'lib/quandl/client/models/sheet.rb', line 17
def parent
@parent ||= Quandl::Client::Sheet.find(parent_url_title)
end
|
#parent_url_title ⇒ Object
43
44
45
|
# File 'lib/quandl/client/models/sheet.rb', line 43
def parent_url_title
@parent_url_title ||= self.full_url_title.split('/')[0..-2].join()
end
|