Last active
April 9, 2020 15:48
-
-
Save dgorodnichy/84915335c849072f1ff959275cb03808 to your computer and use it in GitHub Desktop.
medium.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Medium | |
cattr_accessor :source | |
def initialize(name = nil) | |
@client = source.new(name) | |
end | |
def posts | |
@client.user_posts | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment