Sha256: 204eda7f4abeb7eca67ef89a79ed10c8be4bb76bb0fb31e87560c466551c08c4
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
# frozen_string_literal: true require "net/https" require "forwardable" require "json" require "zlib" require "nokogiri" begin require "active_support/core_ext/object/to_query" rescue LoadError require "aitch/ext/to_query" end require "aitch/utils" require "aitch/uri" require "aitch/dsl" require "aitch/namespace" require "aitch/location" require "aitch/configuration" require "aitch/errors" require "aitch/request" require "aitch/redirect" require "aitch/response/errors" require "aitch/response" require "aitch/response/body" require "aitch/response/description" require "aitch/response_parser/default_parser" require "aitch/response_parser/html_parser" require "aitch/response_parser/json_parser" require "aitch/response_parser/xml_parser" require "aitch/response_parser" require "aitch/version" module Aitch class << self extend Forwardable def_delegators :namespace, :configuration, :config, :get, :get!, :post, :post!, :put, :put!, :patch, :patch!, :options, :options!, :trace, :trace!, :head, :head!, :delete, :delete!, :execute, :execute!, :configure end private def self.namespace @namespace ||= Namespace.new end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aitch-1.0.1 | lib/aitch.rb |
aitch-1.0.0 | lib/aitch.rb |