Class: Hurriyet::Service::Article

Inherits:
Base
  • Object
show all
Includes:
ApiOperation::List
Defined in:
lib/hurriyet/service/article.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ApiOperation::List

#all

Methods inherited from Base

#execute, #initialize, #version

Constructor Details

This class inherits a constructor from Hurriyet::Service::Base

Instance Attribute Details

#clientObject

Returns the value of attribute client.



6
7
8
# File 'lib/hurriyet/service/article.rb', line 6

def client
  @client
end

Instance Method Details

#endpointObject



9
10
11
# File 'lib/hurriyet/service/article.rb', line 9

def endpoint
  'articles'
end