Sha256: c6fa61b338824efae91b109dec4f084b0e58acee0440959576514d825369968e

Contents?: true

Size: 372 Bytes

Versions: 12

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

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

12 entries across 12 versions & 1 rubygems

Version Path
fortnox-api-0.9.1 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.8.2 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.8.1 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.9.0 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.8.0 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.7.2 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.7.1 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.7.0 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.6.3 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.6.2 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.6.1 spec/support/matchers/type/have_customer_type_matcher.rb
fortnox-api-0.6.0 spec/support/matchers/type/have_customer_type_matcher.rb