Method: AskAwesomely::Picture#initialize

Defined in:
lib/ask_awesomely/picture.rb

#initialize(file_or_url, type: DEFAULT_TYPE) ⇒ Picture

Returns a new instance of Picture.



12
13
14
15
# File 'lib/ask_awesomely/picture.rb', line 12

def initialize(file_or_url, type: DEFAULT_TYPE)
  @file_or_url = file_or_url
  @type = type
end