Module: FormAPI
- Defined in:
- lib/form_api/version.rb,
lib/form_api.rb,
lib/form_api/api_error.rb,
lib/form_api/api_client.rb,
lib/form_api/api/pdf_api.rb,
lib/form_api/models/data.rb,
lib/form_api/configuration.rb,
lib/form_api/models/inline_response_201.rb,
lib/form_api/models/inline_response_400.rb,
lib/form_api/models/inline_response_422.rb,
lib/form_api/models/inline_response_201_submission.rb
Overview
#API V1
#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.0-SNAPSHOT
Defined Under Namespace
Classes: ApiClient, ApiError, Configuration, Data, InlineResponse201, InlineResponse201Submission, InlineResponse400, InlineResponse422, PDFApi
Constant Summary collapse
- VERSION =
"0.1.2"
Class Method Summary collapse
-
.configure ⇒ Object
Customize default settings for the SDK using block.
Class Method Details
.configure ⇒ Object
Customize default settings for the SDK using block.
FormAPI.configure do |config|
config.username = "xxx"
config.password = "xxx"
end
If no block given, return the default Configuration object.
37 38 39 40 41 42 43 |
# File 'lib/form_api.rb', line 37 def configure if block_given? yield(Configuration.default) else Configuration.default end end |