Sha256: 36f5e1d4d035062efa2f355b84ea2db5e3b9adcd5737b353df30fed8f6615311

Contents?: true

Size: 363 Bytes

Versions: 643

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbOnlineStatus
    class OnlineStatus < Playbook::KitBase
      prop :status, type: Playbook::Props::Enum,
                    values: %w[online offline away],
                    default: "offline"

      def classname
        generate_classname("pb_online_status_kit", status)
      end
    end
  end
end

Version data entries

643 entries across 643 versions & 1 rubygems

Version Path
playbook_ui-7.16.0.pre.alpha3 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.16.0.pre.alpha2 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.16.0.pre.alpha1 app/pb_kits/playbook/pb_online_status/online_status.rb