Sha256: ca088e188d73cc54f3a96b1ef314797c8b7c67d694ebb565ddfee53820d64bb7

Contents?: true

Size: 549 Bytes

Versions: 2

Compression:

Stored size: 549 Bytes

Contents

# encoding: utf-8
module EnumField
  autoload :DefineEnum, 'enum_field/define_enum'
  autoload :Builder, 'enum_field/builder'
  autoload :EnumeratedAttribute, 'enum_field/enumerated_attribute'
  autoload :Version, 'enum_field/version'
  
  class BadId < StandardError
    attr_reader :repeated_id

    def initialize(repeated_id)
      @repeated_id = repeated_id
    end
  end

  class RepeatedId < StandardError; end
  class InvalidId < StandardError; end
  class InvalidOptions < StandardError; end
  class ObjectNotFound < StandardError; end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
galetahub-enum_field-0.4.0 lib/enum_field.rb
galetahub-enum_field-0.3.0 lib/enum_field.rb