diff options
| author | Yorick Peterse <yorickpeterse@gmail.com> | 2017-10-18 21:46:05 +0200 |
|---|---|---|
| committer | Yorick Peterse <yorickpeterse@gmail.com> | 2017-11-07 23:25:03 +0100 |
| commit | 6e242e82237ad2cf362098f3f42f4a9dd1a4ad27 (patch) | |
| tree | 415639ff14183a4914dac69fcc400806cb477525 /lib/github/representation/base.rb | |
| parent | 4dfe26cd8b6863b7e6c81f5c280cdafe9b6e17b6 (diff) | |
| download | gitlab-ce-github-importer-refactor.tar.gz | |
Replace old GH importer with the parallel importergithub-importer-refactor
Diffstat (limited to 'lib/github/representation/base.rb')
| -rw-r--r-- | lib/github/representation/base.rb | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/github/representation/base.rb b/lib/github/representation/base.rb deleted file mode 100644 index f26bdbdd546..00000000000 --- a/lib/github/representation/base.rb +++ /dev/null @@ -1,30 +0,0 @@ -module Github - module Representation - class Base - def initialize(raw, options = {}) - @raw = raw - @options = options - end - - def id - raw['id'] - end - - def url - raw['url'] - end - - def created_at - raw['created_at'] - end - - def updated_at - raw['updated_at'] - end - - private - - attr_reader :raw, :options - end - end -end |
