Module: Shikimori::OAuth2

Defined in:
lib/shikimori/oauth2.rb,
lib/shikimori/oauth2/client.rb,
lib/shikimori/oauth2/config.rb,
lib/shikimori/oauth2/version.rb

Overview

Tools for Shikimori OAuth2

Defined Under Namespace

Classes: Client, Config

Constant Summary collapse

VERSION =

Returns Semantic version of library.

Returns:

  • (String)

    Semantic version of library

'1.0.1'

Class Method Summary collapse

Class Method Details

.configObject



14
15
16
# File 'lib/shikimori/oauth2.rb', line 14

def config
  @config ||= Config.new
end

.configure {|config| ... } ⇒ Object

Yields:



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

def configure
  yield(config)
end