Sha256: bd060b13de8e1e14acd8177b77fcbb1c4435ee7445bd9130f22428834ce486e0

Contents?: true

Size: 585 Bytes

Versions: 9

Compression:

Stored size: 585 Bytes

Contents

require "faraday"
require "octoparts/version"
require "octoparts/configuration"
require "octoparts/error"
require "octoparts/client"
require "octoparts/model"
require "octoparts/representer"
require "octoparts/response"
require "octoparts/builder"

module Octoparts
  class << self
    def configuration
      @configuration ||= Octoparts::Configuration.new
    end

    def configure(&block)
      configuration.instance_eval(&block)
    end

    def build_aggregate_request(&block)
      builder = Octoparts::AggregateRequestBuilder.new(&block)
      builder.build
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
octoparts-0.1.3 lib/octoparts.rb
octoparts-0.1.1 lib/octoparts.rb
octoparts-0.1.0 lib/octoparts.rb
octoparts-0.0.9 lib/octoparts.rb
octoparts-0.0.8 lib/octoparts.rb
octoparts-0.0.7 lib/octoparts.rb
octoparts-0.0.6 lib/octoparts.rb
octoparts-0.0.5 lib/octoparts.rb
octoparts-0.0.4 lib/octoparts.rb