Class: GreyNoise::Clients::Client
- Inherits:
-
Object
- Object
- GreyNoise::Clients::Client
- Defined in:
- lib/greynoise/clients/client.rb
Direct Known Subclasses
Constant Summary collapse
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(key) ⇒ Client
Returns a new instance of Client.
16 17 18 |
# File 'lib/greynoise/clients/client.rb', line 16 def initialize(key) @key = key end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
14 15 16 |
# File 'lib/greynoise/clients/client.rb', line 14 def key @key end |