Module: ActiveForms

Defined in:
lib/active_forms.rb,
lib/active_forms/mapper.rb,
lib/active_forms/request.rb,
lib/active_forms/configuration.rb

Defined Under Namespace

Classes: ApiKeyInvalid, ApiSigInvalid, ApiTimestampInvalid, ApiVersionNotSupported, Application, ApplicationNotFound, ApplicationPrint, BadParameterFormat, Configuration, Error, Form, FormNotFound, FormVersionNotFound, Mapper, MethodNotAllowed, MissingParameter, MissingResource, MissingVendor, Request, ResourceNotSupported

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



13
14
15
# File 'lib/active_forms.rb', line 13

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



15
16
17
18
# File 'lib/active_forms.rb', line 15

def configure
  self.configuration ||= Configuration.new
  yield(configuration)
end