Module: Arrest::BelongsTo

Included in:
AbstractResource, NestedResource
Defined in:
lib/arrest/attributes/belongs_to.rb

Overview

Manages an id field of an external resource referenced by this resource. Provides accessor to load exteral resource.

Defined Under Namespace

Modules: BelongsToMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



5
6
7
# File 'lib/arrest/attributes/belongs_to.rb', line 5

def self.included(base) # :nodoc:
  base.extend BelongsToMethods
end