Class: Egalite::EgaliteResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/egalite.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(com, param = nil) ⇒ EgaliteResponse

Returns a new instance of EgaliteResponse.



348
349
350
351
# File 'lib/egalite.rb', line 348

def initialize(com, param = nil)
  @command = com
  @param = param
end

Instance Attribute Details

#commandObject

Returns the value of attribute command.



345
346
347
# File 'lib/egalite.rb', line 345

def command
  @command
end

#paramObject

Returns the value of attribute param.



346
347
348
# File 'lib/egalite.rb', line 346

def param
  @param
end