dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

Gitlab::DataBuilder::Note#build

Produce a hash of post-receive data

For all notes:

data = {
  object_kind: "note",
  user: {
    name: String,
    username: String,
    avatar_url: String
  }
  project_id: Integer,
  repository: {
    name: String,
    url: String,
    description: String,
    homepage: String,
  }
 object_attributes: {
   <hook data for note>
 }
 <note-specific data>: {
}
note-specific data is a hash with one of the following keys and contains
the hook data for that type.
 - commit
 - issue
 - merge_request
 - snippet

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--DataBuilder--Note-build-for-pr


# Commit to git

git add git commit -m "better docs for Gitlab::DataBuilder::Note#build"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gitlab--DataBuilder--Note-build-for-pr

hub pull-request


# Celebrate!