Class PostData
In: lib/active_merchant/lib/post_data.rb
Parent: Hash

Methods

[]=   to_post_data   to_s  

Public Instance methods

[Source]

    # File lib/active_merchant/lib/post_data.rb, line 7
 7:   def []=(key, value)
 8:     return if value.blank? && !required?(key)
 9:     super
10:   end

[Source]

    # File lib/active_merchant/lib/post_data.rb, line 12
12:   def to_post_data
13:     collect { |key, value| "#{key}=#{CGI.escape(value.to_s)}" }.join("&")  
14:   end
to_s()

Alias for to_post_data

[Validate]