Exception: FacebookAds::AdException
- Inherits:
-
StandardError
- Object
- StandardError
- FacebookAds::AdException
- Defined in:
- lib/facebook_ads/ad_exception.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(code:, title:, message:) ⇒ AdException
constructor
A new instance of AdException.
Constructor Details
#initialize(code:, title:, message:) ⇒ AdException
Returns a new instance of AdException.
7 8 9 10 11 12 |
# File 'lib/facebook_ads/ad_exception.rb', line 7 def initialize(code:, title:, message:) super() @code = code @title = title @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
5 6 7 |
# File 'lib/facebook_ads/ad_exception.rb', line 5 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/facebook_ads/ad_exception.rb', line 5 def @message end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/facebook_ads/ad_exception.rb', line 5 def title @title end |