class SimpleJSONAPIClient::Relationships::SingularDataRelationship

Private Instance Methods

fetch_internal_object() click to toggle source
# File lib/simple_jsonapi_client/relationships/singular_data_relationship.rb, line 12
def fetch_internal_object
  instantiated_relationship_record(@record_or_records)
end
pseudo_inspect() click to toggle source
# File lib/simple_jsonapi_client/relationships/singular_data_relationship.rb, line 8
def pseudo_inspect
  "#<#{self.class.name} model_class=#{@klass} id=#{@record_or_records['id']}}>"
end