Class: Everlog::Daily

Inherits:
Object
  • Object
show all
Defined in:
lib/everlog/app/daily.rb

Instance Method Summary collapse

Constructor Details

#initializeDaily

Returns a new instance of Daily.



3
4
5
# File 'lib/everlog/app/daily.rb', line 3

def initialize
  @content = Dom::Entity::Aggregate::DailyReport.new
end

Instance Method Details



11
12
13
# File 'lib/everlog/app/daily.rb', line 11

def footer phrase
  @content.footer(phrase)
end

#publish(title, access_token = nil, output = 'local') ⇒ Object



15
16
17
# File 'lib/everlog/app/daily.rb', line 15

def publish(title, access_token = nil, output = 'local')
  @content.publish(title, access_token, output)
end

#push(service, option = {}) ⇒ Object



7
8
9
# File 'lib/everlog/app/daily.rb', line 7

def push(service, option = {})
  @content.push(service, option)
end