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
- VALID_API_KEYS =
['page','per_page','auto_pagination','jsonp_callback']
Constants included fromToken
Token::TOKEN_REQUIRED,Token::TOKEN_REQUIRED_REGEXP
Method Summary
Methods included fromRequired
#assert_required_keys
Methods included fromToken
#validates_token_for
Methods included fromFormat
#assert_valid_values
Methods included fromPresence
#assert_presence_of