Exception: NbApiClient::Request::UnauthorizedNationError
- Inherits:
-
StandardError
- Object
- StandardError
- NbApiClient::Request::UnauthorizedNationError
- Defined in:
- lib/nb_api_client/request.rb
Instance Attribute Summary collapse
-
#nation ⇒ Object
readonly
Returns the value of attribute nation.
Instance Method Summary collapse
-
#initialize(nation:) ⇒ UnauthorizedNationError
constructor
A new instance of UnauthorizedNationError.
Constructor Details
#initialize(nation:) ⇒ UnauthorizedNationError
Returns a new instance of UnauthorizedNationError.
12 13 14 15 |
# File 'lib/nb_api_client/request.rb', line 12 def initialize(nation:) @nation = nation super("Unauthorized nation: #{nation}") end |
Instance Attribute Details
#nation ⇒ Object (readonly)
Returns the value of attribute nation.
10 11 12 |
# File 'lib/nb_api_client/request.rb', line 10 def nation @nation end |