Class: ActionAdapter

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

Instance Method Summary collapse

Instance Method Details

#build_url(actionID, propertyList = nil, encode = true) ⇒ Object



913
914
915
916
917
918
919
920
921
922
923
# File 'lib/ribit/action.rb', line 913

def build_url( actionID, propertyList=nil, encode=true )
  url = URL.new( nil, nil, "#{actionID}" )
  
  if ( propertyList != nil )
    propertyList.keys.each do |key|
      url.add_param( key, propertyList.get( key ) )
    end
  end
  
  return url
end