Class: Commands::Command

Inherits:
Object
  • Object
show all
Includes:
CommandMixin, DriveError
Defined in:
lib/gdsh/commands.rb

Overview

Command with an initialized client object.

Instance Method Summary collapse

Methods included from DriveError

#drive_error_string

Methods included from CommandMixin

#execute, included

Constructor Details

#initialize(client, params) ⇒ Command

Returns a new instance of Command.



19
20
21
# File 'lib/gdsh/commands.rb', line 19

def initialize(client, params)
  @client, @params = client, params
end