Module: BrickFTP::RESTfulAPI::Command

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



6
7
8
9
10
# File 'lib/brick_ftp/restful_api/command.rb', line 6

def self.included(klass)
  klass.class_eval do
    attr_reader :client
  end
end

Instance Method Details

#initialize(client) ⇒ Object

Initialize command.

Parameters:



16
17
18
# File 'lib/brick_ftp/restful_api/command.rb', line 16

def initialize(client)
  @client = client
end