Class: Xeroizer::PublicApplication
- Inherits:
-
GenericApplication
- Object
- GenericApplication
- Xeroizer::PublicApplication
- Extended by:
- Forwardable
- Defined in:
- lib/xeroizer/public_application.rb
Constant Summary
Constants included from Http
Instance Attribute Summary
Attributes inherited from GenericApplication
#client, #logger, #rate_limit_max_attempts, #rate_limit_sleep, #xero_url
Instance Method Summary collapse
-
#initialize(consumer_key, consumer_secret, options = {}) ⇒ PublicApplication
constructor
Public appliations are authenticated via the Xero website via OAuth.
Methods included from Record::ApplicationHelper
Methods included from Http
#http_get, #http_post, #http_put
Constructor Details
#initialize(consumer_key, consumer_secret, options = {}) ⇒ PublicApplication
Public appliations are authenticated via the Xero website via OAuth. AccessTokens are valid for 30 minutes after authentication. To extend this time you must redirect the user to Xero’s OAuth server again.
16 17 18 |
# File 'lib/xeroizer/public_application.rb', line 16 def initialize(consumer_key, consumer_secret, = {}) super(consumer_key, consumer_secret, ) end |