Class: SimpleJSONAPIClient::Relationships::LinkRelationshipProxy

Inherits:
SimpleJSONAPIClient::Redirection::Proxy show all
Defined in:
lib/simple_jsonapi_client/relationships/link_relationship_proxy.rb

Instance Method Summary collapse

Methods inherited from SimpleJSONAPIClient::Redirection::Proxy

#as_json, #inspect, #method_missing, #respond_to_missing?

Constructor Details

#initialize(klass, connection, url) ⇒ LinkRelationshipProxy

Returns a new instance of LinkRelationshipProxy.



6
7
8
9
10
# File 'lib/simple_jsonapi_client/relationships/link_relationship_proxy.rb', line 6

def initialize(klass, connection, url)
  @klass = klass
  @connection = connection
  @url = url
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SimpleJSONAPIClient::Redirection::Proxy