Sha256: 1cc098b6d04a031fb20288e07ae26f98344f5554c5ae42c4b783a8accb734301

Contents?: true

Size: 349 Bytes

Versions: 6

Compression:

Stored size: 349 Bytes

Contents

module Matchers
  module Type
    def have_customer_type( attribute, valid_hash = {} )
      HaveCustomerTypeMatcher.new( attribute, valid_hash )
    end

    class HaveCustomerTypeMatcher < EnumMatcher
      def initialize( attribute, valid_hash )
        super( attribute, valid_hash, 'CustomerType', 'CustomerTypes' )
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fortnox-api-0.5.2 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.5.1 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.5.0 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.4.0 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.3.0 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.2.0 spec/support/matchers/type/have_customer_type_matcher.rb