Class: Iqy
- Inherits:
-
Object
- Object
- Iqy
- Defined in:
- lib/excel-data/iqy.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
Returns the value of attribute base_url.
Instance Method Summary collapse
-
#initialize(base_url) ⇒ Iqy
constructor
A new instance of Iqy.
- #iqy_file(params, path) ⇒ Object
- #iqy_url(params, path) ⇒ Object
Constructor Details
#initialize(base_url) ⇒ Iqy
Returns a new instance of Iqy.
3 4 5 |
# File 'lib/excel-data/iqy.rb', line 3 def initialize(base_url) @base_url = base_url end |
Instance Attribute Details
#base_url ⇒ Object
Returns the value of attribute base_url.
2 3 4 |
# File 'lib/excel-data/iqy.rb', line 2 def base_url @base_url end |
Instance Method Details
#iqy_file(params, path) ⇒ Object
10 11 12 |
# File 'lib/excel-data/iqy.rb', line 10 def iqy_file(params,path) start_iqy+iqy_url(params,path)+end_iqy end |
#iqy_url(params, path) ⇒ Object
6 7 8 |
# File 'lib/excel-data/iqy.rb', line 6 def iqy_url(params,path) @base_url+path+params.to_excel_param end |