Class: WsdlMapper::TypeMapping::DateParts::Base

Inherits:
Base
  • Object
show all
Defined in:
lib/wsdl_mapper/type_mapping/date_parts.rb

Instance Attribute Summary

Attributes inherited from Base

#xml_types

Instance Method Summary collapse

Methods inherited from Base

#initialize, #maps?, #register_xml_types, #to_ruby, #to_xml

Constructor Details

This class inherits a constructor from WsdlMapper::TypeMapping::Base

Instance Method Details

#requiresObject



14
15
16
# File 'lib/wsdl_mapper/type_mapping/date_parts.rb', line 14

def requires
  ['wsdl_mapper/core_ext/time_duration']
end

#ruby_typeObject



10
11
12
# File 'lib/wsdl_mapper/type_mapping/date_parts.rb', line 10

def ruby_type
  WsdlMapper::CoreExt::TimeDuration
end