Class: Doorway::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/doorway/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(conn) ⇒ Base

Returns a new instance of Base.



11
12
13
# File 'lib/doorway/base.rb', line 11

def initialize(conn)
  @conn = conn
end

Instance Attribute Details

#connObject (readonly)

Returns the value of attribute conn.



9
10
11
# File 'lib/doorway/base.rb', line 9

def conn
  @conn
end