Method: MFi::MPower#initialize
- Defined in:
- lib/mpower.rb
#initialize(opts) ⇒ MPower
Create MPower instance
opts connection options host, pass and user are required for SSH
38 39 40 41 42 |
# File 'lib/mpower.rb', line 38 def initialize opts @host = opts[:host] @pass = opts[:pass] @user = opts[:user] end |