Class: CategoryFormActionAdapter
- Inherits:
-
ActionAdapter
- Object
- ActionAdapter
- CategoryFormActionAdapter
- Defined in:
- lib/ribit/action.rb
Instance Method Summary collapse
- #add_param(key, value) ⇒ Object
- #get_url(encode = true) ⇒ Object
-
#initialize(pageID) ⇒ CategoryFormActionAdapter
constructor
A new instance of CategoryFormActionAdapter.
Methods inherited from ActionAdapter
Constructor Details
#initialize(pageID) ⇒ CategoryFormActionAdapter
Returns a new instance of CategoryFormActionAdapter.
1069 1070 1071 1072 |
# File 'lib/ribit/action.rb', line 1069 def initialize( pageID ) @propertyList = PropertyList.new @propertyList.put( Constants::CATEGORY_ID_REQUEST_PARAM_NAME, pageID ) end |
Instance Method Details
#add_param(key, value) ⇒ Object
1075 1076 1077 |
# File 'lib/ribit/action.rb', line 1075 def add_param( key, value ) @propertyList.put( key, value ) end |
#get_url(encode = true) ⇒ Object
1080 1081 1082 |
# File 'lib/ribit/action.rb', line 1080 def get_url( encode=true ) return build_url( CategoryFormAction::ID, @propertyList, encode ) end |