Class: InvalidUserAgentError
- Inherits:
-
Thrift::Exception
- Object
- Thrift::Exception
- InvalidUserAgentError
- 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
-
#initialize(message = nil) ⇒ InvalidUserAgentError
constructor
A new instance of InvalidUserAgentError.
- #struct_fields ⇒ Object
- #validate ⇒ Object
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(=nil) super() self. = end |
Instance Method Details
#struct_fields ⇒ Object
42 |
# File 'lib/snowflake_types.rb', line 42 def struct_fields; FIELDS; end |
#validate ⇒ Object
44 45 |
# File 'lib/snowflake_types.rb', line 44 def validate end |