Class: BinaryEdge::Client::Sensors

Inherits:
Base
  • Object
show all
Includes:
Action::IP, Action::Search, Action::Stats
Defined in:
lib/binaryedge/clients/sensors.rb

Constant Summary

Constants inherited from Base

Base::BASE_URL, Base::HOST, Base::VERSION

Instance Attribute Summary

Attributes inherited from Base

#api_key

Instance Method Summary collapse

Methods included from Action::Stats

#stats

Methods included from Action::Search

#search

Methods included from Action::IP

#ip

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from BinaryEdge::Client::Base

Instance Method Details

#tag(target, days: 1) ⇒ Object



10
11
12
13
# File 'lib/binaryedge/clients/sensors.rb', line 10

def tag(target, days: 1)
  params = { days: days }
  _get("/query/sensors/tag/#{target}", params) { |json| json }
end