Method: Account#api_enabled?
- Defined in:
- lib/models/account.rb
#api_enabled? ⇒ Boolean
Is the API supported for this account?
34 35 36 37 38 |
# File 'lib/models/account.rb', line 34 def api_enabled? !%w[Terminated Rejected].include?(stage) rescue StandardError true end |