lib/ask_awesomely.rb
require "forwardable"
require "json"
require "uri"
require "erubis"
require "aws-sdk"
require "typhoeus"
require "ask_awesomely/version"
require "ask_awesomely/json_builder"
require "ask_awesomely/configuration"
require "ask_awesomely/dsl"
require "ask_awesomely/field"
require "ask_awesomely/choice"
require "ask_awesomely/picture"
require "ask_awesomely/s3"
require "ask_awesomely/api_client"
require "ask_awesomely/typeform"
require "ask_awesomely/embeddable"
require "ask_awesomely/logic_jump"
require "ask_awesomely/design"
module AskAwesomely
ConfigurationError = Class.new(ArgumentError)
FieldTypeError = Class.new(ArgumentError)
EmbedTypeError = Class.new(ArgumentError)
InvalidUrlError = Class.new(TypeError)
InvalidFontError = Class.new(ArgumentError)
def self.configuration
@configuration ||= Configuration.new
end
def self.configure(&block)
block.call(self.configuration)
end
end