Class: FormActionAdapter
- Inherits:
-
ActionAdapter
- Object
- ActionAdapter
- FormActionAdapter
- Defined in:
- lib/ribit/action.rb
Instance Method Summary collapse
- #add_param(key, value) ⇒ Object
- #get_url(encode = true) ⇒ Object
-
#initialize(pageID) ⇒ FormActionAdapter
constructor
A new instance of FormActionAdapter.
Methods inherited from ActionAdapter
Constructor Details
#initialize(pageID) ⇒ FormActionAdapter
Returns a new instance of FormActionAdapter.
1047 1048 1049 1050 |
# File 'lib/ribit/action.rb', line 1047 def initialize( pageID ) @propertyList = PropertyList.new @propertyList.put( Constants::PAGE_ID_REQUEST_PARAM_NAME, pageID ) end |
Instance Method Details
#add_param(key, value) ⇒ Object
1053 1054 1055 |
# File 'lib/ribit/action.rb', line 1053 def add_param( key, value ) @propertyList.put( key, value ) end |
#get_url(encode = true) ⇒ Object
1058 1059 1060 |
# File 'lib/ribit/action.rb', line 1058 def get_url( encode=true ) return build_url( FormAction::ID, @propertyList, encode ) end |