Module: Github::Validations

Includes:
Format, Presence, Required, Token
Included in:
API::Arguments
Defined in:
lib/github_api/validations.rb,
lib/github_api/validations/token.rb,
lib/github_api/validations/format.rb,
lib/github_api/validations/presence.rb,
lib/github_api/validations/required.rb

Defined Under Namespace

Modules: Format, Presence, Required, Token

Constant Summary collapse

VALID_API_KEYS =
[
  'page',
  'per_page',
  'auto_pagination',
  'jsonp_callback'
]

Constants included from Token

Token::TOKEN_REQUIRED, Token::TOKEN_REQUIRED_REGEXP

Method Summary

Methods included from Required

#assert_required_keys

Methods included from Token

#validates_token_for

Methods included from Format

#assert_valid_values

Methods included from Presence

#assert_presence_of