Class: Rdmm::Resources::BaseResource

Inherits:
Object
  • Object
show all
Defined in:
lib/rdmm/resources/base_resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source) ⇒ BaseResource

Returns a new instance of BaseResource.

Parameters:

  • source (Hash)


8
9
10
# File 'lib/rdmm/resources/base_resource.rb', line 8

def initialize(source)
  @source = source
end

Instance Attribute Details

#sourceHash (readonly)

Returns:

  • (Hash)


5
6
7
# File 'lib/rdmm/resources/base_resource.rb', line 5

def source
  @source
end