Sha256: 085f0a607d21755692d5996076f95ff0036bef9922d18451a04c1244f7d704c8

Contents?: true

Size: 345 Bytes

Versions: 24

Compression:

Stored size: 345 Bytes

Contents

require 'infrataster/resources/base_resource'
require 'uri'

module Infrataster
  module Resources
    class CapybaraResource < BaseResource
      Error = Class.new(StandardError)

      attr_reader :uri

      def initialize(url)
        @uri = URI.parse(url)
      end

      def to_s
        "capybara '#{@uri}'"
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
infrataster-0.3.2 lib/infrataster/resources/capybara_resource.rb
infrataster-0.3.1 lib/infrataster/resources/capybara_resource.rb
infrataster-0.3.0 lib/infrataster/resources/capybara_resource.rb
infrataster-0.2.6 lib/infrataster/resources/capybara_resource.rb
infrataster-0.2.5 lib/infrataster/resources/capybara_resource.rb
infrataster-0.2.4 lib/infrataster/resources/capybara_resource.rb
infrataster-0.2.3 lib/infrataster/resources/capybara_resource.rb
infrataster-0.2.2 lib/infrataster/resources/capybara_resource.rb
infrataster-0.2.1 lib/infrataster/resources/capybara_resource.rb
infrataster-0.2.0 lib/infrataster/resources/capybara_resource.rb
infrataster-0.2.0.beta1 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.13 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.12 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.11 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.10 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.9 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.8 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.7 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.6 lib/infrataster/resources/capybara_resource.rb
infrataster-0.1.5 lib/infrataster/resources/capybara_resource.rb