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



802
803
804
# File 'lib/airbnb/service/hongbao/api/hongbao_data_smartclient_modules.rb', line 802

def message
  @message
end

Instance Method Details

#to_sObject Also known as: inspect



803
804
805
# File 'lib/airbnb/service/hongbao/api/hongbao_data_smartclient_modules.rb', line 803

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