Sha256: 449b4f7f1c1124d9c54142f1d1ae5e80298da15cbdd4104a77058ea7cc864010

Contents?: true

Size: 243 Bytes

Versions: 3

Compression:

Stored size: 243 Bytes

Contents

require "apidiesel"

Dir[ File.join(__dir__, 'actions', '*.rb') ].each do |file|
  require file
end

module Github
  class Api < Apidiesel::Api
    use Apidiesel::Handlers::JSON

    url 'https://api.github.com'

    register_actions
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
apidiesel-0.15 examples/github/api.rb
apidiesel-0.14 examples/github/api.rb
apidiesel-0.13 examples/github/api.rb