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/data_1.rb,
lib/form_api/models/inline_response_201.rb,
lib/form_api/models/inline_response_400.rb,
lib/form_api/models/inline_response_401.rb,
lib/form_api/models/inline_response_422.rb,
lib/form_api/models/inline_response_201_1.rb,
lib/form_api/models/inline_response_201_1_submission.rb,
lib/form_api/models/inline_response_201_combined_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, Data1, InlineResponse201, InlineResponse2011, InlineResponse2011Submission, InlineResponse201CombinedSubmission, InlineResponse400, InlineResponse401, InlineResponse422, PDFApi

Constant Summary collapse

VERSION =
"0.1.4"

Class Method Summary collapse

Class Method Details

.configureObject

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.



41
42
43
44
45
46
47
# File 'lib/form_api.rb', line 41

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end