Sha256: 155c9a501fd73b359db58cf509b2ec6aad153b658fb6f119110e7f8e1a1bd0b3

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

class GithubCommits < ApiQueryProvider::Base
  self.api_url = "http://github.com/api/v2/json/"
  self.api_path = "commits/list/:user_id/:repository/:branch"
  self.data_selector = Proc.new {|element| element["commits"] }
  self.autogenerate = true
  
  self.custom_field :author do |input|
    GithubUser.new input
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
api-query-provider-0.0.1 spec/lib/github_commits.rb