Sha256: 4e0ceac918b46d5f7ffddc8743192b1f3d4f62c6988f7b1d4157893a6079e91b

Contents?: true

Size: 297 Bytes

Versions: 26

Compression:

Stored size: 297 Bytes

Contents

# Transaction output type enum
module OpenAssets
  module Protocol
    module OutputType
      UNCOLORED = 0
      MARKER_OUTPUT = 1
      ISSUANCE = 2
      TRANSFER = 3

      # get all enum.
      def self.all
        self.constants.map{|name|self.const_get(name)}
      end

    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
openassets-ruby-0.1.6 lib/openassets/protocol/output_type.rb
openassets-ruby-0.1.5 lib/openassets/protocol/output_type.rb
openassets-ruby-0.1.4 lib/openassets/protocol/output_type.rb
openassets-ruby-0.1.3 lib/openassets/protocol/output_type.rb
openassets-ruby-0.1.2 lib/openassets/protocol/output_type.rb
openassets-ruby-0.1.1 lib/openassets/protocol/output_type.rb