Class: ApiResource::Associations::SingleObjectProxy

Inherits:
AssociationProxy show all
Defined in:
lib/api_resource/associations.rb

Instance Attribute Summary

Attributes inherited from AssociationProxy

#internal_object, #klass, #loaded, #remote_path, #scopes, #times_loaded

Instance Method Summary collapse

Methods inherited from AssociationProxy

#initialize, #inspect, #method_missing, #reload, #scope?, #to_s

Constructor Details

This class inherits a constructor from ApiResource::Associations::AssociationProxy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ApiResource::Associations::AssociationProxy

Instance Method Details

#serializable_hash(options = {}) ⇒ Object



364
365
366
# File 'lib/api_resource/associations.rb', line 364

def serializable_hash(options = {})
  self.internal_object.serializable_hash(options)
end