Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/savon_helper.rb,
lib/savon_helper/caching_object.rb,
lib/savon_helper/mapping_object.rb
Mapping collapse
-
.all_type_mappings ⇒ Hash{Symbol => TypeMapping}
Return TypeMappings.
-
.type_mappings ⇒ Hash{Symbol => TypeMapping}
Return TypeMappings specific to the class.
-
#all_type_mappings ⇒ Hash{Symbol => TypeMapping}
Return TypeMappings.
-
#to_savon ⇒ Object
Convert to Savon data.
-
#type_mappings ⇒ Hash{Symbol => TypeMapping}
Return TypeMappings specific to the instance's class.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.all_cache_aspects ⇒ Object
81 82 83 |
# File 'lib/savon_helper/caching_object.rb', line 81 def self.all_cache_aspects Set.new() end |
.all_type_mappings ⇒ Hash{Symbol => TypeMapping}
Return TypeMappings.
166 167 168 |
# File 'lib/savon_helper/mapping_object.rb', line 166 def self.all_type_mappings {} end |
.cache_aspects ⇒ Object
73 74 75 |
# File 'lib/savon_helper/caching_object.rb', line 73 def self.cache_aspects Set.new() end |
.name_without_namespace ⇒ Object
36 37 38 |
# File 'lib/savon_helper.rb', line 36 def self.name_without_namespace name.split('::').last || '' end |
.type_mappings ⇒ Hash{Symbol => TypeMapping}
Return TypeMappings specific to the class
154 155 156 |
# File 'lib/savon_helper/mapping_object.rb', line 154 def self.type_mappings {} end |
Instance Method Details
#all_cache_aspects ⇒ Object
77 78 79 |
# File 'lib/savon_helper/caching_object.rb', line 77 def all_cache_aspects self.class.all_cache_aspects end |
#all_type_mappings ⇒ Hash{Symbol => TypeMapping}
Return TypeMappings.
160 161 162 |
# File 'lib/savon_helper/mapping_object.rb', line 160 def all_type_mappings self.class.all_type_mappings() end |
#cache_aspects ⇒ Object
69 70 71 |
# File 'lib/savon_helper/caching_object.rb', line 69 def cache_aspects self.class.cache_aspects end |
#to_savon ⇒ Object
Convert to Savon data.
142 143 144 |
# File 'lib/savon_helper/mapping_object.rb', line 142 def to_savon self end |
#type_mappings ⇒ Hash{Symbol => TypeMapping}
Return TypeMappings specific to the instance's class
148 149 150 |
# File 'lib/savon_helper/mapping_object.rb', line 148 def type_mappings self.class.type_mappings end |