Method: OneApi::LastPartOfUrlFieldConversionRule#from_json
- Defined in:
- lib/oneapi-ruby/objects.rb
#from_json(value) ⇒ Object
85 86 87 88 89 90 91 92 93 |
# File 'lib/oneapi-ruby/objects.rb', line 85 def from_json(value) if ! value return nil end parts = value.split('/') parts[-1] end |