class OneApi::FieldConversionRule

Attributes

json_field_name[RW]
object_field_name[RW]

Public Class Methods

new(json_field_name=nil) click to toggle source
# File lib/oneapi-ruby/objects.rb, line 15
def initialize(json_field_name=nil)
    @json_field_name = json_field_name
    @object_field_name = nil
end

Public Instance Methods

from_json(value) click to toggle source
# File lib/oneapi-ruby/objects.rb, line 20
def from_json(value)
    value
end
to_json(value) click to toggle source
# File lib/oneapi-ruby/objects.rb, line 24
def to_json(value)
    value
end