class HornOfPlenty::Adapters::Github::Queries::ListPullRequests
Public Instance Methods
translate(query)
click to toggle source
# File lib/horn_of_plenty/adapters/github/queries/list_pull_requests.rb, line 9 def translate(query) query.delete(:id) rename_key(from: :author_id, to: :creator) rename_key(from: :assignee_id, to: :assignee) rename_key(from: :status, to: :state) query end