Class: InvalidUserAgentError

Inherits:
Thrift::Exception
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/snowflake_types.rb

Constant Summary collapse

MESSAGE =
1
FIELDS =
{
  MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}
}

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ InvalidUserAgentError

Returns a new instance of InvalidUserAgentError.



31
32
33
34
# File 'lib/snowflake_types.rb', line 31

def initialize(message=nil)
  super()
  self.message = message
end

Instance Method Details

#struct_fieldsObject



42
# File 'lib/snowflake_types.rb', line 42

def struct_fields; FIELDS; end

#validateObject



44
45
# File 'lib/snowflake_types.rb', line 44

def validate
end