Module: Airbnb::Service::Hongbao::Api::HasChinaCouponExceptionSmartclientModule::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.



596
597
598
# File 'lib/airbnb/service/hongbao/api/hongbao_data_smartclient_modules.rb', line 596

def message
  @message
end

Instance Method Details

#to_sObject Also known as: inspect



597
598
599
# File 'lib/airbnb/service/hongbao/api/hongbao_data_smartclient_modules.rb', line 597

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