Class: Nokaya::Instagram
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
Attributes inherited from Basic
#args, #filenames, #name, #options, #path, #type, #urls
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 = parse(args[0]) @urls = [get_basic(parsed)].compact @author = (parsed) @filenames = name_files() end |
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
6 7 8 |
# File 'lib/nokaya/instagram.rb', line 6 def @author end |