Sha256: 9906d564250ad35b3879e6264611813de9c76b4b53378d7e57a5d9aad2b6f712

Contents?: true

Size: 380 Bytes

Versions: 6

Compression:

Stored size: 380 Bytes

Contents

module SSO
  module Elements
    class Field
      attr_accessor :type,
                    :value,
                    :index

      def initialize(type, value, index)
        @type = type
        @value = value
        @index = index
      end

      def compact
        {
          type: @type,
          value: @value
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sso-elements-fmk-0.1.6 lib/sso/elements/field.rb
sso-elements-fmk-0.1.5 lib/sso/elements/field.rb
sso-elements-fmk-0.1.4 lib/sso/elements/field.rb
sso-elements-fmk-0.1.3 lib/sso/elements/field.rb
sso-elements-fmk-0.1.2 lib/sso/elements/field.rb
sso-elements-fmk-0.1.1 lib/sso/elements/field.rb