Sha256: eff6af53d3fe90ebc06b5d81951a8d766e38215a31bd94bae0c489c4a1f4d558
Contents?: true
Size: 651 Bytes
Versions: 3
Compression:
Stored size: 651 Bytes
Contents
Hoth::Modules.define do service_module :statistics_module do env :development do endpoint :default do host '127.0.0.1' port 443 transport :json_via_https end end add_service :increment_statistics add_service :statistic_of_cars end service_module :accounts_module do env :development do endpoint :default do host 'localhost' port 3000 transport :http end endpoint :beanstalk do host 'localhost' port 11300 transport :beanstalkd end end add_service :create_account, :via => :beanstalk end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hoth-0.4.2 | example/config/module_definition.rb |
hoth-0.4.1 | example/config/module_definition.rb |
hoth-0.4.0 | example/config/module_definition.rb |