Class: Relax::Response

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

Direct Known Subclasses

Remit::BaseResponse

Class Method Summary collapse

Class Method Details

.alias_for_parameterObject



17
# File 'lib/remit/data_types.rb', line 17

alias_method :alias_for_parameter, :parameter

.parameter(name, options = {}) ⇒ Object



18
19
20
21
22
23
# File 'lib/remit/data_types.rb', line 18

def parameter(name, options = {})
  opts = {
    :element => camelize(name)
  }.merge!(options)
  alias_for_parameter(name, opts)
end