Sha256: b780b83d6520875dbded84491e97520fa5e8c438115cbbd4939fbef3da3844fd

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

=begin
#API V1

#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

OpenAPI spec version: v1

Generated by: https://github.com/swagger-api/swagger-codegen.git
Swagger Codegen version: 2.3.0-SNAPSHOT

=end

# Common files
require 'form_api/api_client'
require 'form_api/api_error'
require 'form_api/version'
require 'form_api/configuration'

# Models
require 'form_api/models/data'
require 'form_api/models/inline_response_201'
require 'form_api/models/inline_response_201_submission'
require 'form_api/models/inline_response_400'
require 'form_api/models/inline_response_422'

# APIs
require File.join(File.dirname(__FILE__), '../extensions/lib/form_api/api/client')

module FormAPI
  class << self
    # 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.
    def configure
      if block_given?
        yield(Configuration.default)
      else
        Configuration.default
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
form_api-0.1.3 lib/form_api.rb
form_api-0.1.2 lib/form_api.rb