Class: Ribose::Base

Inherits:
Object
  • Object
show all
Includes:
ResourceHelper
Defined in:
lib/ribose/base.rb

Instance Method Summary collapse

Methods included from ResourceHelper

#resource, #resource_key, #resource_path, #resources, #resources_path

Constructor Details

#initialize(attributes = {}) ⇒ Base

Returns a new instance of Base.



7
8
9
10
11
# File 'lib/ribose/base.rb', line 7

def initialize(attributes = {})
  @attributes = attributes
  extract_base_attributes
  extract_local_attributes
end