Sha256: 07ac9179a5fc639c96bb6156fa332317ba50a229d988141d0014c54cfb6b6ff0

Contents?: true

Size: 641 Bytes

Versions: 2

Compression:

Stored size: 641 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(t(:account_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

2 entries across 2 versions & 1 rubygems

Version Path
card-1.101.7 tmpsets/set/mod010-card-mod-account/right/status.rb
card-1.101.6 tmpsets/set/mod010-card-mod-account/right/status.rb