Class: AutomationObject::BluePrint::Composite::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/automation_object/blue_print/composite/base.rb

Overview

This composite namespace is the interface contract for the rest of the application to rely on Adapters should implement the same classes and methods as the composite to achieve reliability with the rest of the application

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(adapter_object) ⇒ Base

Returns a new instance of Base



14
15
16
# File 'lib/automation_object/blue_print/composite/base.rb', line 14

def initialize(adapter_object)
  self.adapter = adapter_object
end

Instance Attribute Details

#adapterObject

Returns the value of attribute adapter



12
13
14
# File 'lib/automation_object/blue_print/composite/base.rb', line 12

def adapter
  @adapter
end