Class: Profile::Thrift::ThriftCommonResponse

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

Constant Summary collapse

SUCCESS =
1
ERRORCODE =
2
ERRORMSG =
3
DATA =
4
FIELDS =
{
  SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'},
  ERRORCODE => {:type => ::Thrift::Types::STRING, :name => 'errorCode', :optional => true},
  ERRORMSG => {:type => ::Thrift::Types::STRING, :name => 'errorMsg', :optional => true},
  DATA => {:type => ::Thrift::Types::STRING, :name => 'data', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



361
# File 'lib/remote_profile_types.rb', line 361

def struct_fields; FIELDS; end

#validateObject



363
364
# File 'lib/remote_profile_types.rb', line 363

def validate
end