Module: DoorkeeperJp

Defined in:
lib/doorkeeper_jp.rb,
lib/doorkeeper_jp/client.rb,
lib/doorkeeper_jp/version.rb,
lib/doorkeeper_jp/response.rb

Defined Under Namespace

Classes: Client, Error, Response

Constant Summary collapse

VERSION =
"0.1.1"

Class Method Summary collapse

Class Method Details

.client(access_token = nil) ⇒ DoorkeeperJp::Client

Create and returns Client instance

Parameters:

  • access_token (String) (defaults to: nil)

Returns:



18
19
20
# File 'lib/doorkeeper_jp.rb', line 18

def self.client(access_token = nil)
  DoorkeeperJp::Client.new(access_token)
end