Module: PollEverywhere
- Defined in:
- lib/polleverywhere/models.rb,
lib/polleverywhere.rb,
lib/polleverywhere/http.rb,
lib/polleverywhere/version.rb,
lib/polleverywhere/core_ext.rb,
lib/polleverywhere/configurable.rb,
lib/polleverywhere/http/adapter.rb,
lib/polleverywhere/serializable.rb,
lib/polleverywhere/configuration.rb,
lib/polleverywhere/http/request_builder.rb
Overview
:nodoc
Defined Under Namespace
Modules: Configurable, CoreExt, HTTP, Models, Serializable Classes: Configuration
Constant Summary collapse
- Participant =
Lets make life easier for developers and provide shortcuts to module and class names. PollEverywhere::Model::MultipleChoicePoll now becomes PollEverywhere::MCP. Cool eh? Thank me later.
Models::Participant
- MCP =
MultipleChoicePoll = Models::MultipleChoicePoll
- FTP =
FreeTextPoll = Models::FreeTextPoll
- VERSION =
"0.0.17"
Class Method Summary collapse
Class Method Details
.config(&block) ⇒ Object
18 19 20 21 22 |
# File 'lib/polleverywhere.rb', line 18 def self.config(&block) @config ||= Configuration.new @config.configure(&block) if block @config end |
.http ⇒ Object
24 25 26 |
# File 'lib/polleverywhere.rb', line 24 def self.http HTTP::RequestBuilder.new end |