Class: Nokaya::Instagram
Instance Attribute Summary
Attributes inherited from Basic
#args, #file_name, #image_url, #options, #path, #type
Instance Method Summary collapse
-
#initialize(args, options = {}) ⇒ Instagram
constructor
A new instance of Instagram.
Methods inherited from Basic
Constructor Details
#initialize(args, options = {}) ⇒ Instagram
Returns a new instance of Instagram.
8 9 10 11 12 13 14 15 |
# File 'lib/nokaya/instagram.rb', line 8 def initialize args, = {} super(args, ) @type = :instagram parsed = self.parse(args[0]) @image_url = [self.get_basic(parsed)] @author = (parsed) @file_name = [name()] end |