summaryrefslogtreecommitdiff
path: root/lib/github/representation/base.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-11 22:34:59 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 16:17:52 -0300
commitb43ecca9060b3d7ffd84d700caecf5f35fd403a9 (patch)
tree8b23af77d44d2dc854aff7d68179b63867bf5436 /lib/github/representation/base.rb
parentfc42f3dffa364a360c76ff2785813d74f42016c7 (diff)
downloadgitlab-ce-b43ecca9060b3d7ffd84d700caecf5f35fd403a9.tar.gz
Add basic representations for the Github API results
Diffstat (limited to 'lib/github/representation/base.rb')
-rw-r--r--lib/github/representation/base.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/github/representation/base.rb b/lib/github/representation/base.rb
new file mode 100644
index 00000000000..6765bfb803b
--- /dev/null
+++ b/lib/github/representation/base.rb
@@ -0,0 +1,13 @@
+module Github
+ module Representation
+ class Base
+ def initialize(raw)
+ @raw = raw
+ end
+
+ private
+
+ attr_reader :raw
+ end
+ end
+end