motion-prime/config/base.rb in motion-prime-0.5.2 vs motion-prime/config/base.rb in motion-prime-0.5.3
- old
+ new
@@ -8,11 +8,18 @@
config.font.name = "Ubuntu"
config.colors do |colors|
colors.base = 0x424242
colors.error = 0xef471f
end
- config.api do |api|
+ config.api_client do |api|
api.base = "http://example.com"
api.client_id = ""
api.client_secret = ""
+ api.signature_secret = ""
+ api.sign_request = false
+ api.auth_path = '/oauth/token'
+ api.api_namespace = '/api'
+ api.request_format = :form_data
+ api.allow_redirect = false
+ api.allow_queue = false
end
end
\ No newline at end of file