summaryrefslogtreecommitdiff
path: root/lib/github/representation/issue.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-19 19:14:40 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 16:17:52 -0300
commitf35573f12eb579b31b014fa99509c694021c33c7 (patch)
tree6f615c24db9f2c975f4972b1f3a93f4fbab0938b /lib/github/representation/issue.rb
parenta32adb82dc5b27069835219a5189f497686b8b04 (diff)
downloadgitlab-ce-f35573f12eb579b31b014fa99509c694021c33c7.tar.gz
Extract common attributes to Github::Representation::Base
Diffstat (limited to 'lib/github/representation/issue.rb')
-rw-r--r--lib/github/representation/issue.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/github/representation/issue.rb b/lib/github/representation/issue.rb
index f155880b984..3bb767a5daa 100644
--- a/lib/github/representation/issue.rb
+++ b/lib/github/representation/issue.rb
@@ -37,18 +37,6 @@ module Github
raw['state'] == 'closed' ? 'closed' : 'opened'
end
- def url
- raw['url']
- end
-
- def created_at
- raw['created_at']
- end
-
- def updated_at
- raw['updated_at']
- end
-
def assigned?
raw['assignee'].present?
end