lib/helpers/evernote.rb in evertils-0.1.20 vs lib/helpers/evernote.rb in evertils-0.2.0
- old
+ new
@@ -1,6 +1,6 @@
-module Granify
+module Evertils
module Helper
class Evernote
@@developer_token = ENV["EVERTILS_TOKEN"]
# required user-created notebooks
@@ -324,13 +324,13 @@
end
def template_contents
if Date.today.friday? && command == :Daily
# Friday uses a slightly different template
- IO.readlines("#{Granify::TEMPLATE_DIR}#{command}-friday.enml").join("").gsub!("\n", '')
+ IO.readlines("#{Evertils::TEMPLATE_DIR}#{command}-friday.enml").join("").gsub!("\n", '')
else
- IO.readlines("#{Granify::TEMPLATE_DIR}#{command}.enml").join("").gsub!("\n", '')
+ IO.readlines("#{Evertils::TEMPLATE_DIR}#{command}.enml").join("").gsub!("\n", '')
end
end
def date_templates(arg_date = DateTime.now)
dow = day_of_week(arg_date.strftime('%a'))
@@ -348,6 +348,6 @@
def command
$request.command.capitalize
end
end
end
-end
\ No newline at end of file
+end