Sha256: 995e9d05b2180333ffa2846dfd79bc6f3f2598bbe44a17af98f47d43f0d1e906

Contents?: true

Size: 453 Bytes

Versions: 1

Compression:

Stored size: 453 Bytes

Contents

require 'percy/capybara/client/builds'
require 'percy/capybara/client/snapshots'

module Percy
  module Capybara
    class Client
      include Percy::Capybara::Client::Builds
      include Percy::Capybara::Client::Snapshots

      class Error < Exception; end
      class BuildNotInitializedError < Error; end

      attr_reader :client

      def initialize(options = {})
        @client = options[:client] || Percy.client
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
percy-capybara-0.1.0 lib/percy/capybara/client.rb