Class: SData::RouteMapper
- Inherits:
-
Struct
- Object
- Struct
- SData::RouteMapper
- Defined in:
- lib/s_data/route_mapper.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#resource_name ⇒ Object
Returns the value of attribute resource_name.
-
#router ⇒ Object
Returns the value of attribute router.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options
2 3 4 |
# File 'lib/s_data/route_mapper.rb', line 2 def @options end |
#resource_name ⇒ Object
Returns the value of attribute resource_name
2 3 4 |
# File 'lib/s_data/route_mapper.rb', line 2 def resource_name @resource_name end |
#router ⇒ Object
Returns the value of attribute router
2 3 4 |
# File 'lib/s_data/route_mapper.rb', line 2 def router @router end |
Class Method Details
.urlize(string) ⇒ Object
24 25 26 |
# File 'lib/s_data/route_mapper.rb', line 24 def self.urlize(string) string.gsub("'", "(%27|')").gsub("\s", "(%20|\s)") end |
Instance Method Details
#map_sdata_routes! ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/s_data/route_mapper.rb', line 3 def map_sdata_routes! #RADAR: the order of the below statements makes a difference map_sdata_show_instance map_sdata_show_instance_with_condition_and_predicate map_sdata_show_instance_with_condition map_sdata_show_instance_with_predicate map_sdata_create_link map_sdata_create_instance map_sdata_update_instance map_sdata_sync_source map_sdata_sync_source_status map_sdata_sync_source_delete map_sdata_receive_sync_results map_sdata_collection_with_condition map_sdata_collection end |