Sha256: 29a14bb87d6b97cf4763acbc75f85cb59405125d05d59eef02c3eb2ce0c862c3

Contents?: true

Size: 465 Bytes

Versions: 11

Compression:

Stored size: 465 Bytes

Contents

# encoding: utf-8

module Github
  module Validations
    extend AutoloadHelper

    autoload_all 'github_api/validations',
      :Presence => 'presence',
      :Token    => 'token',
      :Format   => 'format',
      :Required => 'required'

    include Presence
    include Format
    include Token
    include Required

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

  end # Validation
end # Github

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
github_api-0.11.1 lib/github_api/validations.rb
github_api-0.11.0 lib/github_api/validations.rb
github_api-0.10.2 lib/github_api/validations.rb
github_api-0.10.1 lib/github_api/validations.rb
github_api-0.10.0 lib/github_api/validations.rb
github_api-0.9.7 lib/github_api/validations.rb
github_api-0.9.6 lib/github_api/validations.rb
github_api-0.9.5 lib/github_api/validations.rb
github_api-0.9.4 lib/github_api/validations.rb
github_api-0.9.3 lib/github_api/validations.rb
github_api-0.9.2 lib/github_api/validations.rb