Class: Zygote::Web

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/zygote/http.rb

Overview

Main HTTP class, handles routing methods Uses sinatra format (all sinatra docs on routing methods apply)

Class Attribute Summary collapse

Class Attribute Details

.cell_configObject

Returns the value of attribute cell_config.



98
99
100
# File 'lib/zygote/http.rb', line 98

def cell_config
  @cell_config
end

.viewsObject

Returns the value of attribute views.



99
100
101
# File 'lib/zygote/http.rb', line 99

def views
  @views
end