From b43ecca9060b3d7ffd84d700caecf5f35fd403a9 Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Tue, 11 Apr 2017 22:34:59 -0300 Subject: Add basic representations for the Github API results --- lib/github/representation/base.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/github/representation/base.rb (limited to 'lib/github/representation/base.rb') 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 -- cgit v1.2.1