Module: ActiveForms
- Defined in:
- lib/active_forms.rb,
lib/active_forms/mapper.rb,
lib/active_forms/request.rb,
lib/active_forms/version.rb,
lib/active_forms/configuration.rb
Defined Under Namespace
Classes: ApiKeyInvalid, ApiSigInvalid, ApiTimestampInvalid, ApiVersionNotSupported, Application, ApplicationNotFound, ApplicationNotSent, ApplicationPrint, BadParameterFormat, Configuration, Entry, EntryNotFound, EntryPrintout, Error, FieldNotFound, FieldNotMultiple, Forbidden, Form, FormActiveVersionNotFound, FormNotFound, FormVersion, FormVersionNotFound, InternalServerError, Mapper, MethodNotAllowed, MissingParameter, MissingResource, MissingVendor, NullResponse, OptionNotFound, ParseError, Request, ResourceNotSupported, TemplateNotFound, Token, Unauthorized
Constant Summary collapse
- VERSION =
"0.3.2.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
23 24 25 |
# File 'lib/active_forms.rb', line 23 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
25 26 27 28 |
# File 'lib/active_forms.rb', line 25 def configure self.configuration ||= Configuration.new yield(configuration) end |
.log(msg) ⇒ Object
30 31 32 33 34 |
# File 'lib/active_forms.rb', line 30 def log(msg) if configuration.logger configuration.logger.info(msg) end end |