Class: SimpleJSONAPIClient::Relationships::Relationship
- Inherits:
-
Object
- Object
- SimpleJSONAPIClient::Relationships::Relationship
show all
- Defined in:
- lib/simple_jsonapi_client/relationships/relationship.rb
Instance Method Summary
collapse
Constructor Details
#initialize(model_class, url_opts = {}) ⇒ Relationship
4
5
6
7
|
# File 'lib/simple_jsonapi_client/relationships/relationship.rb', line 4
def initialize(model_class, url_opts = {})
@model_class = model_class
@url_opts = url_opts
end
|
Instance Method Details
#call(*args) ⇒ Object
9
10
11
|
# File 'lib/simple_jsonapi_client/relationships/relationship.rb', line 9
def call(*args)
raise NotImplementedError
end
|