Sha256: 8a328585b81780c1ebb865b9a8893867b6420d9c9e4515e5c57d8072d48ca05e

Contents?: true

Size: 212 Bytes

Versions: 11

Compression:

Stored size: 212 Bytes

Contents

# frozen_string_literal: true

module Matchers
  module Type
    def have_discount_type(attribute, valid_hash = {})
      EnumMatcher.new(attribute, valid_hash, 'DiscountType', 'DiscountTypes')
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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