Class: Ray::Payloads::NullPayload

Inherits:
Payload
  • Object
show all
Defined in:
lib/ray/payloads/null_payload.rb

Instance Method Summary collapse

Methods inherited from Payload

#get_origin, #initialize, #to_hash

Constructor Details

This class inherits a constructor from Ray::Payloads::Payload

Instance Method Details

#contentObject



9
10
11
12
13
14
# File 'lib/ray/payloads/null_payload.rb', line 9

def content
  {
    content: nil,
    label: 'Integer'
  }
end

#typeObject



5
6
7
# File 'lib/ray/payloads/null_payload.rb', line 5

def type
  'custom'
end