class Pulsedive::Indicator
Public Instance Methods
get_by_id(iid, schema: 1)
click to toggle source
# File lib/pulsedive/indicator.rb, line 5 def get_by_id(iid, schema: 1) params = { "iid": iid, "schema": schema } get("/api/info.php", params) { |json| json } end
get_by_value(indicator)
click to toggle source
# File lib/pulsedive/indicator.rb, line 13 def get_by_value(indicator) params = { "indicator": indicator } get("/api/info.php", params) { |json| json } end
get_links_by_id(iid, page: 0)
click to toggle source
# File lib/pulsedive/indicator.rb, line 20 def get_links_by_id(iid, page: 0) params = { "iid": iid, "get": "links", "page": page } get("/api/info.php", params) { |json| json } end
get_properties_by_id(iid)
click to toggle source
# File lib/pulsedive/indicator.rb, line 29 def get_properties_by_id(iid) params = { "iid": iid, "get": "properties" } get("/api/info.php", params) { |json| json } end