Class: JsonApiClient::Query::Linked
- Inherits:
-
Object
- Object
- JsonApiClient::Query::Linked
- Defined in:
- lib/json_api_client/query/linked.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(path) ⇒ Linked
constructor
A new instance of Linked.
- #params ⇒ Object
- #request_method ⇒ Object
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
#path ⇒ Object
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
#headers ⇒ Object
14 15 16 |
# File 'lib/json_api_client/query/linked.rb', line 14 def headers {} end |
#params ⇒ Object
18 19 20 |
# File 'lib/json_api_client/query/linked.rb', line 18 def params {} end |
#request_method ⇒ Object
10 11 12 |
# File 'lib/json_api_client/query/linked.rb', line 10 def request_method :get end |