Sha256: f6523a15c687f822f965d127ca7305c8843c3d3d27ba2b1529b716699ebf17f0

Contents?: true

Size: 999 Bytes

Versions: 56

Compression:

Stored size: 999 Bytes

Contents

module Xeroizer
  class PublicApplication < GenericApplication
    
    extend Forwardable
    def_delegators :client, :request_token, :authorize_from_request, :authorize_from_access

    public
    
      # 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.
      # 
      # @param [String] consumer_key consumer key/token from application developer (found at http://api.xero.com for your application)
      # @param [String] consumer_secret consumer secret from application developer (found at http://api.xero.com for your application)
      # @param [Hash] options other options to pass to the GenericApplication constructor
      # @return [PublicApplication] instance of PrivateApplication
      def initialize(consumer_key, consumer_secret, options = {})
        super(consumer_key, consumer_secret, options)
      end

  end
end

Version data entries

56 entries across 56 versions & 2 rubygems

Version Path
xeroizer-2.20.0 lib/xeroizer/public_application.rb
xeroizer-2.19.0 lib/xeroizer/public_application.rb
xeroizer-2.18.1 lib/xeroizer/public_application.rb
xeroizer-2.17.1 lib/xeroizer/public_application.rb
xeroizer-2.16.5 lib/xeroizer/public_application.rb
xeroizer-2.16.4 lib/xeroizer/public_application.rb
xeroizer-2.16.3 lib/xeroizer/public_application.rb
xeroizer-2.16.1 lib/xeroizer/public_application.rb
xeroizer-2.16.0 lib/xeroizer/public_application.rb
xeroizer-2.15.9 lib/xeroizer/public_application.rb
xeroizer-2.15.8 lib/xeroizer/public_application.rb
xeroizer-2.15.7 lib/xeroizer/public_application.rb
xeroizer-2.15.6 lib/xeroizer/public_application.rb
xeroizer-float-2.15.5.2 lib/xeroizer/public_application.rb
xeroizer-float-2.15.5.1 lib/xeroizer/public_application.rb
xeroizer-2.15.5 lib/xeroizer/public_application.rb
xeroizer-float-2.15.3.16 lib/xeroizer/public_application.rb
xeroizer-float-2.15.3.15 lib/xeroizer/public_application.rb
xeroizer-float-2.15.3.14 lib/xeroizer/public_application.rb
xeroizer-float-2.15.3.13 lib/xeroizer/public_application.rb