Exception: BaiduApi::LbsCloud::Exceptions::Failed
- Inherits:
-
StandardError
- Object
- StandardError
- BaiduApi::LbsCloud::Exceptions::Failed
- Defined in:
- lib/baidu_api/lbs_cloud/exceptions/failed.rb
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(raw) ⇒ Failed
constructor
A new instance of Failed.
Constructor Details
#initialize(raw) ⇒ Failed
Returns a new instance of Failed.
4 5 6 7 |
# File 'lib/baidu_api/lbs_cloud/exceptions/failed.rb', line 4 def initialize(raw) @raw = raw super(raw['message']) end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
3 4 5 |
# File 'lib/baidu_api/lbs_cloud/exceptions/failed.rb', line 3 def raw @raw end |