Class: EasyPing::Action
- Inherits:
-
Object
- Object
- EasyPing::Action
- Extended by:
- Forwardable
- Includes:
- Utils
- Defined in:
- lib/easy_ping/action.rb
Constant Summary collapse
- CHANNELS =
["alipay", "wx", "upmp", "alipay_wap", "upmp_wap"]
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #from_notification(params) ⇒ Object
-
#initialize(config) ⇒ Action
constructor
A new instance of Action.
Methods included from Utils
#indifferent_hash, #indifferent_params
Constructor Details
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
25 26 27 |
# File 'lib/easy_ping/action.rb', line 25 def client @client end |
#config ⇒ Object (readonly)
Returns the value of attribute config.
25 26 27 |
# File 'lib/easy_ping/action.rb', line 25 def config @config end |