Class: JsonApiClient::Query::Linked

Inherits:
Object
  • Object
show all
Defined in:
lib/json_api_client/query/linked.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Linked

Returns a new instance of Linked.



6
7
8
# File 'lib/json_api_client/query/linked.rb', line 6

def initialize(path)
  @path = path
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



4
5
6
# File 'lib/json_api_client/query/linked.rb', line 4

def path
  @path
end

Instance Method Details

#headersObject



14
15
16
# File 'lib/json_api_client/query/linked.rb', line 14

def headers
  {}
end

#paramsObject



18
19
20
# File 'lib/json_api_client/query/linked.rb', line 18

def params
  {}
end

#request_methodObject



10
11
12
# File 'lib/json_api_client/query/linked.rb', line 10

def request_method
  :get
end