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-4.5.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.5.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.4.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.4.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.3.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.3.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.2.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.1.2 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.1.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.1.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.0.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-4.0.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-3.5.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-3.4.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-3.3.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-3.2.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-3.1.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-3.0.1 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-3.0.0 app/pb_kits/playbook/pb_online_status/online_status.rb
playbook_ui-2.9.9 app/pb_kits/playbook/pb_online_status/online_status.rb