Sha256: fc271de1285789341b94808cf2734092e7849462ee0708b9dde8722ff0e861d3

Contents?: true

Size: 422 Bytes

Versions: 200

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbOnlineStatus
    class OnlineStatus
      include Playbook::Props

      partial "pb_online_status/online_status"

      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

200 entries across 200 versions & 1 rubygems

Version Path
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.16.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.15.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.15.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.14.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.13.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.12.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.12.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.11.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.11.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_online_status/online_status.rb