Sha256: 10a07711580443c8d09e78abea68455fd530defb8bb767b511650588b29f0cf5

Contents?: true

Size: 345 Bytes

Versions: 4

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module Voucher
  class Election
    include Virtus.model

    attribute :starts_at, DateTime
    attribute :ends_at, DateTime
    attribute :address, String
    attribute :block_number, Integer
    attribute :poll_status, String
    attribute :segments_count, Integer
    attribute :created_at, DateTime
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
voucher-0.3.0 lib/voucher/model/election.rb
voucher-0.2.1 lib/voucher/model/election.rb
voucher-0.1.1 lib/voucher/model/election.rb
voucher-0.1.0 lib/voucher/model/election.rb