Module: Restfulie
- Defined in:
- lib/restfulie.rb,
lib/restfulie/client.rb,
lib/restfulie/common.rb,
lib/restfulie/server.rb,
lib/restfulie/version.rb,
lib/restfulie/client/base.rb,
lib/restfulie/client/http.rb,
lib/restfulie/client/cache.rb,
lib/restfulie/common/error.rb,
lib/restfulie/common/logger.rb,
lib/restfulie/client/mikyung.rb,
lib/restfulie/client/mikyung.rb,
lib/restfulie/client/http/cache.rb,
lib/restfulie/client/http/error.rb,
lib/restfulie/server/controller.rb,
lib/restfulie/client/entry_point.rb,
lib/restfulie/client/mikyung/core.rb,
lib/restfulie/client/configuration.rb,
lib/restfulie/server/configuration.rb,
lib/restfulie/client/stack_navigator.rb,
lib/restfulie/client/mikyung/languages.rb,
lib/restfulie/server/action_controller.rb,
lib/restfulie/client/mikyung/concatenator.rb,
lib/restfulie/client/feature/fake_response.rb,
lib/restfulie/client/mikyung/then_condition.rb,
lib/restfulie/client/mikyung/when_condition.rb,
lib/restfulie/server/action_controller/base.rb,
lib/restfulie/server/action_controller/trait.rb,
lib/restfulie/client/mikyung/languages/german.rb,
lib/restfulie/client/mikyung/rest_process_model.rb,
lib/restfulie/client/mikyung/steady_state_walker.rb,
lib/restfulie/client/mikyung/languages/portuguese.rb,
lib/restfulie/server/action_controller/params_parser.rb,
lib/restfulie/server/action_controller/restful_responder.rb
Overview
A steady walker that tries 3 times each step
Defined Under Namespace
Modules: Client, Common, Server, VERSION Classes: Mikyung
Class Method Summary collapse
-
.at(uri) ⇒ Object
creates a new entry point for executing requests.
- .use(&block) ⇒ Object
- .using(&block) ⇒ Object
Class Method Details
.at(uri) ⇒ Object
creates a new entry point for executing requests
12 13 14 |
# File 'lib/restfulie.rb', line 12 def self.at(uri) Restfulie.use.at(uri) end |
.use(&block) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/restfulie.rb', line 20 def self.use(&block) if block_given? Restfulie::Client::Dsl.new.instance_eval(&block) else Restfulie::Client::Dsl.new end end |
.using(&block) ⇒ Object
16 17 18 |
# File 'lib/restfulie.rb', line 16 def self.using(&block) RestfulieUsing.new.instance_eval(&block) end |