Module: Riddl::Roles

Defined in:
lib/ruby/riddl/roles.rb,
lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0/base.rb,
lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Fon_behalf.rb,
lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Faccess_token.rb,
lib/ruby/riddl/roles/http%3A%2F%2Foauth.net%2F1.0%2Frequest_token.rb

Defined Under Namespace

Modules: OAuth Classes: Implementation

Constant Summary collapse

@@roles =
{}

Class Method Summary collapse

Class Method Details

.add(name, what) ⇒ Object



4
5
6
# File 'lib/ruby/riddl/roles.rb', line 4

def self::add(name,what)
  @@roles[name] = what
end

.rolesObject



7
8
9
# File 'lib/ruby/riddl/roles.rb', line 7

def self::roles
  @@roles
end