Method: Ernest::Post#initialize

Defined in:
lib/ernest/post.rb

#initialize(data, file_path, api) ⇒ Post

Returns a new instance of Post.



11
12
13
14
15
# File 'lib/ernest/post.rb', line 11

def initialize(data, file_path, api)
  @data = data
  @file_path = file_path
  @api = api
end