Class: OmniAuth::Backstage::Client
- Inherits:
-
Object
- Object
- OmniAuth::Backstage::Client
- Defined in:
- lib/omniauth/backstage/client.rb
Class Method Summary collapse
Class Method Details
.client_options(options) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/omniauth/backstage/client.rb', line 4 def self.() ok = %w{site authorize_url token_url}.all? {|param| .include?(param.to_sym) } raise ArgumentError, 'Missing required parameters.' unless ok { site: [:site], authorize_url: [:authorize_url], token_url: [:token_url] } end |