Method: OneApi::PartOfUrlFieldConversionRule#from_json
- Defined in:
- lib/oneapi-ruby/objects.rb
#from_json(value) ⇒ Object
107 108 109 110 111 112 113 114 115 |
# File 'lib/oneapi-ruby/objects.rb', line 107 def from_json(value) if ! value return nil end parts = value.split('/') parts[@part_index] end |