Method: Intrinsic::EventTypeObject#to_json
- Defined in:
- lib/intrinsic/types/event_type_object.rb
#to_json(*_args) ⇒ JSON
Serialize an instance of EventTypeObject to a JSON object
49 50 51 |
# File 'lib/intrinsic/types/event_type_object.rb', line 49 def to_json(*_args) { "id": @id, "name": @name, "fields": @fields, "object": @object }.to_json end |