Class: Anvil::Mysql::Grant
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Anvil::Mysql::Grant
- Includes:
- Password
- Defined in:
- lib/anvil/mysql/grant.rb
Instance Method Summary collapse
Methods inherited from SubCommandBase
Instance Method Details
#all(db_name, db_username, user, host) ⇒ Object
16 17 18 19 |
# File 'lib/anvil/mysql/grant.rb', line 16 def all db_name, db_username, user, host password = get_password_from [:mysql_password] Anvil::Mysql::PrivilegesGranter.new(db_name, db_username, user, host, [:mysql_user], password, [:mysql_host], [:mysql_port]).call end |