Sha256: e982fc970994763641073c39ccd7f0a7410073f56bd184f2ed033284c0fecea0
Contents?: true
Size: 995 Bytes
Versions: 1
Compression:
Stored size: 995 Bytes
Contents
=begin #ApproveAPI #The simple API to request a user's approval on anything via email + sms. Contact: hello@approveapi.com =end # Common files require 'approveapi_swagger/api_client' require 'approveapi_swagger/api_error' require 'approveapi_swagger/version' require 'approveapi_swagger/configuration' # Models require 'approveapi_swagger/models/answer_metadata' require 'approveapi_swagger/models/create_prompt_request' require 'approveapi_swagger/models/error' require 'approveapi_swagger/models/prompt' require 'approveapi_swagger/models/prompt_answer' require 'approveapi_swagger/models/prompt_metadata' require 'approveapi_swagger/models/prompt_status' # APIs require 'approveapi_swagger/api/approve_api' module ApproveAPI include ApproveAPISwagger class << self def create_client(secret_api_key) self.configure |config| { config.username = secret_api_key } client = self::ApproveAPI.new if block_given? yield(client) else client end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
approveapi-1.0.2 | lib/approveapi.rb |