class Gossiperl::Client::Thrift::DigestSubscribe
Constants
- EVENT_TYPES
- FIELDS
- HEARTBEAT
- ID
- NAME
- SECRET
Public Instance Methods
struct_fields()
click to toggle source
# File lib/gossiperl_client/thrift/gossiperl_types.rb, line 265 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/gossiperl_client/thrift/gossiperl_types.rb, line 267 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field name is unset!') unless @name raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field heartbeat is unset!') unless @heartbeat raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field id is unset!') unless @id raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field event_types is unset!') unless @event_types raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field secret is unset!') unless @secret end