Sha256: 7d22407c9ae686d32ca9cbaf1d9b7a0e930e088f3a6346cb311842ac8a25b654

Contents?: true

Size: 634 Bytes

Versions: 6

Compression:

Stored size: 634 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class Right
# Set: All "+Status" cards
#
module Status;
extend Card::Set
def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-account/set/right/status.rb"; end
include_set Abstract::AccountField
include_set Abstract::Pointer

def input_type
  :radio
end

def option_names
  %w[unapproved unverified active blocked system]
end

def ok_to_update
  if own_account? && !Auth.always_ok?
    deny_because you_cant(tr(:deny_not_change_own_account))
  else
    super
  end
end
end;end;end;end;
# ~~ generated from /Users/ethan/dev/decko/gem/card-mod-account/set/right/status.rb ~~

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
card-1.101.5 tmpsets/set/mod011-card-mod-account/right/status.rb
card-1.101.4 tmpsets/set/mod011-card-mod-account/right/status.rb
card-1.101.3 tmpsets/set/mod011-card-mod-account/right/status.rb
card-1.101.2 tmpsets/set/mod011-card-mod-account/right/status.rb
card-1.101.1 tmpsets/set/mod011-card-mod-account/right/status.rb
card-1.101.0 tmpsets/set/mod011-card-mod-account/right/status.rb