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.
5 6 7 8 9 |
# File 'lib/facebook_ads/ad_exception.rb', line 5 def initialize(code:, title:, message:) @code = code @title = title @message = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
3 4 5 |
# File 'lib/facebook_ads/ad_exception.rb', line 3 def code @code end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
3 4 5 |
# File 'lib/facebook_ads/ad_exception.rb', line 3 def @message end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/facebook_ads/ad_exception.rb', line 3 def title @title end |