Class: Worque::Command::Push::Options
- Inherits:
-
Object
- Object
- Worque::Command::Push::Options
- Defined in:
- lib/worque/command/push/options.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
Returns the value of attribute channel.
-
#for ⇒ Object
readonly
Returns the value of attribute for.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(options) ⇒ Options
constructor
A new instance of Options.
Constructor Details
#initialize(options) ⇒ Options
Returns a new instance of Options.
9 10 11 12 13 14 |
# File 'lib/worque/command/push/options.rb', line 9 def initialize() @channel = [:channel] @path = [:path] @for = [:for] @token = [:token] end |
Instance Attribute Details
#channel ⇒ Object (readonly)
Returns the value of attribute channel.
4 5 6 |
# File 'lib/worque/command/push/options.rb', line 4 def channel @channel end |
#for ⇒ Object (readonly)
Returns the value of attribute for.
6 7 8 |
# File 'lib/worque/command/push/options.rb', line 6 def for @for end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
7 8 9 |
# File 'lib/worque/command/push/options.rb', line 7 def path @path end |
#token ⇒ Object (readonly)
Returns the value of attribute token.
5 6 7 |
# File 'lib/worque/command/push/options.rb', line 5 def token @token end |