Class: Pulsedive::Feed
Constant Summary
Constants inherited
from Client
Client::HOST, Client::URL
Instance Attribute Summary
Attributes inherited from Client
#api_key
Instance Method Summary
collapse
Methods inherited from Client
#initialize
Instance Method Details
#get_by_id(fid) ⇒ Object
3
4
5
6
7
8
|
# File 'lib/pulsedive/feed.rb', line 3
def get_by_id(fid)
params = {
"fid": fid
}
get("/api/info.php", params) { |json| json }
end
|
#get_linked_indicators_by_id(fid, page = 0) ⇒ Object
10
11
12
13
14
15
16
17
|
# File 'lib/pulsedive/feed.rb', line 10
def get_linked_indicators_by_id(fid, page = 0)
params = {
"fid": fid,
"get": "links",
"page": page
}
get("/api/info.php", params) { |json| json }
end
|