Class: Rapuncel::Request

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method_name, *args) ⇒ Request

Create a new XML-RPC request



6
7
8
# File 'lib/rapuncel/request.rb', line 6

def initialize method_name, *args
  @method_name, @arguments = method_name, args
end

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments.



3
4
5
# File 'lib/rapuncel/request.rb', line 3

def arguments
  @arguments
end

#method_nameObject

Returns the value of attribute method_name.



3
4
5
# File 'lib/rapuncel/request.rb', line 3

def method_name
  @method_name
end