Method: Protobuf::Rpc::BadRequestProto#initialize
- Defined in:
- lib/protobuf/rpc/error/server_error.rb
#initialize(message = 'Request is of wrong type') ⇒ BadRequestProto
Returns a new instance of BadRequestProto.
13 14 15 |
# File 'lib/protobuf/rpc/error/server_error.rb', line 13 def initialize ='Request is of wrong type' super , 'BAD_REQUEST_PROTO' end |