Class: WebfleetConnect::Actions::Action
- Inherits:
-
Object
- Object
- WebfleetConnect::Actions::Action
- Includes:
- Params::ParamsFactory
- Defined in:
- lib/webfleet_connect/actions/action.rb
Instance Method Summary collapse
-
#initialize(name, args) ⇒ Action
constructor
A new instance of Action.
- #to_s ⇒ Object
Methods included from Params::ParamsFactory
Constructor Details
#initialize(name, args) ⇒ Action
Returns a new instance of Action.
6 7 8 9 |
# File 'lib/webfleet_connect/actions/action.rb', line 6 def initialize(name, args) @name = name @params = build_params(args) end |
Instance Method Details
#to_s ⇒ Object
11 12 13 |
# File 'lib/webfleet_connect/actions/action.rb', line 11 def to_s "action=#{name}#{params}" end |