Sha256: 9a2aba187d640d31daf9ff78f274f80d6bb5afd65666d425120c9076f65f6f69

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

module Access
  class OauthApplication

    def self.search(options = {})
      Access::Api.new.search_oauth_applications options
    end

    def self.find(application_id, options = {})
      Access::Api.new.find_oauth_application application_id, options
    end

    def self.search_tokens(application_id, options = {})
      Access::Api.new.search_oauth_application_tokens application_id, options
    end

    def self.find_token(application_id, token_id, options = {})
      Access::Api.new.find_oauth_application_token application_id, token_id, options
    end

    def self.create_token(application_id, options = {})
      Access::Api.new.create_oauth_application_token application_id, options
    end

    def self.create(options = {})
      Access::Api.new.create_oauth_application options
    end

    def self.update(application_id, options = {})
      Access::Api.new.update_oauth_application application_id, options
    end

    def self.delete(application_id, options = {})
      Access::Api.new.delete_oauth_application application_id, options
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
access-1.1.7 lib/access/oauth_application.rb
access-1.1.6 lib/access/oauth_application.rb
access-1.1.5 lib/access/oauth_application.rb
access-1.1.4 lib/access/oauth_application.rb
access-1.1.3 lib/access/oauth_application.rb
access-1.1.2 lib/access/oauth_application.rb
access-1.1.1 lib/access/oauth_application.rb
access-1.1.0 lib/access/oauth_application.rb