Sha256: 0dd3175c0d3787116083eecb9c60819e23b6b8a204037bf28e866353d8ea8bcf
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 Bytes
Contents
module Commanders class <%= class_name %> < <%= parent_class %> # create basic command methods # command_methods :cancel_commit, :create_account, :signout # create custom command method with custom argument hash # command_method :sign_out do # end # controller delegations # controller_methods :auth_hash, :user_id end end ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
controll-0.3.2 | lib/generators/controll/templates/commander.tt |
controll-0.3.1 | lib/generators/controll/templates/commander.tt |
controll-0.3.0 | lib/generators/controll/templates/commander.tt |