Module: Airbnb::Service::Hongbao::Api::HongbaoCouponDataExceptionSmartclientModule::GenerateInstanceMethods

Defined in:
lib/airbnb/service/hongbao/api/hongbao_data_smartclient_modules.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#messageObject

Returns the value of attribute message.



1118
1119
1120
# File 'lib/airbnb/service/hongbao/api/hongbao_data_smartclient_modules.rb', line 1118

def message
  @message
end

Instance Method Details

#to_sObject Also known as: inspect



1119
1120
1121
# File 'lib/airbnb/service/hongbao/api/hongbao_data_smartclient_modules.rb', line 1119

def to_s
  "HongbaoCouponDataException: #{@message}"
end