Class: Fresh::Auth::Configuration::Url
- Inherits:
-
Object
- Object
- Fresh::Auth::Configuration::Url
- Defined in:
- lib/fresh/auth/configuration.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#subdomain ⇒ Object
12 13 14 15 |
# File 'lib/fresh/auth/configuration.rb', line 12 def subdomain raise "Fresh::Auth.configuration.url.subdomain cannot be blank" if @subdomain.blank? @subdomain end |
Instance Method Details
#access ⇒ Object
25 26 27 |
# File 'lib/fresh/auth/configuration.rb', line 25 def access base + "oauth/oauth_access.php" end |
#api ⇒ Object
29 30 31 |
# File 'lib/fresh/auth/configuration.rb', line 29 def api base + "api/2.1/xml-in" end |
#auth ⇒ Object
21 22 23 |
# File 'lib/fresh/auth/configuration.rb', line 21 def auth base + "oauth/oauth_authorize.php" end |
#request ⇒ Object
17 18 19 |
# File 'lib/fresh/auth/configuration.rb', line 17 def request base + "oauth/oauth_request.php" end |