class Dolla::RequestBuilder
Public Class Methods
new()
click to toggle source
# File lib/dolla/request_builder.rb, line 8 def initialize @hash = ActiveSupport::OrderedHash.new end
Public Instance Methods
set_option(key, value)
click to toggle source
# File lib/dolla/request_builder.rb, line 12 def set_option key, value option_key = (key == :order!)? key : get_option( key ) @hash[ option_key ] = value self end
to_hash()
click to toggle source
# File lib/dolla/request_builder.rb, line 18 def to_hash @hash end