Class: Hurriyet::Client
- Inherits:
-
Object
- Object
- Hurriyet::Client
- Defined in:
- lib/hurriyet/client.rb
Instance Attribute Summary collapse
-
#apikey ⇒ Object
Returns the value of attribute apikey.
Instance Method Summary collapse
- #articles ⇒ Object
-
#initialize(apikey) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(apikey) ⇒ Client
Returns a new instance of Client.
5 6 7 |
# File 'lib/hurriyet/client.rb', line 5 def initialize(apikey) @apikey = apikey end |
Instance Attribute Details
#apikey ⇒ Object
Returns the value of attribute apikey.
4 5 6 |
# File 'lib/hurriyet/client.rb', line 4 def apikey @apikey end |