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.3.7 lib/openassets/protocol/output_type.rb
openassets-ruby-0.3.6 lib/openassets/protocol/output_type.rb
openassets-ruby-0.3.5 lib/openassets/protocol/output_type.rb
openassets-ruby-0.3.4 lib/openassets/protocol/output_type.rb
openassets-ruby-0.3.3 lib/openassets/protocol/output_type.rb
openassets-ruby-0.3.1 lib/openassets/protocol/output_type.rb
openassets-ruby-0.3.0 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.9 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.8 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.7 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.6 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.5 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.4 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.3 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.2 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.1 lib/openassets/protocol/output_type.rb
openassets-ruby-0.2.0 lib/openassets/protocol/output_type.rb
openassets-ruby-0.1.9 lib/openassets/protocol/output_type.rb
openassets-ruby-0.1.8 lib/openassets/protocol/output_type.rb
openassets-ruby-0.1.7 lib/openassets/protocol/output_type.rb