Class: ROM::Github::Mappers::PullRequestMapper

Inherits:
Transformer
  • Object
show all
Defined in:
lib/rom/github/mappers/pull_request_mapper.rb

Instance Method Summary collapse

Instance Method Details

#base_repo_id(base) ⇒ Object



17
18
19
# File 'lib/rom/github/mappers/pull_request_mapper.rb', line 17

def base_repo_id(base)
  base[:repo][:id]
end

#base_repo_name(base) ⇒ Object



21
22
23
# File 'lib/rom/github/mappers/pull_request_mapper.rb', line 21

def base_repo_name(base)
  base[:repo][:full_name]
end