Sha256: 9890aa311af889ad3fccf4310f769c9b1197d6e6dc5959f78f2f3baa4cf36ac3

Contents?: true

Size: 379 Bytes

Versions: 10

Compression:

Stored size: 379 Bytes

Contents

require 'typesafe_enum'

module OpenActive
  module Enums
    # Enumerated types for gender restrictions that are applied to Events
    class GenderRestrictionType < TypesafeEnum::Base
      new :NoRestriction, "https://openactive.io/NoRestriction"
      new :MaleOnly, "https://openactive.io/MaleOnly"
      new :FemaleOnly, "https://openactive.io/FemaleOnly"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/enums/gender_restriction_type.rb
openactive-0.4.0 lib/openactive/enums/gender_restriction_type.rb
openactive-0.3.0 lib/openactive/enums/gender_restriction_type.rb
openactive-0.2.2 lib/openactive/enums/gender_restriction_type.rb
openactive-0.2.1 lib/openactive/enums/gender_restriction_type.rb
openactive-0.2.0 lib/openactive/enums/gender_restriction_type.rb
openactive-0.1.2 lib/openactive/enums/gender_restriction_type.rb
openactive-0.1.1 lib/openactive/enums/gender_restriction_type.rb
openactive-0.1.0 lib/openactive/enums/gender_restriction_type.rb
openactive-0.1.0.rc1 lib/openactive/enums/gender_restriction_type.rb