lib/evertils/common/entity/stack.rb in evertils-common-0.2.6 vs lib/evertils/common/entity/stack.rb in evertils-common-0.2.7

- old
+ new

@@ -1,18 +1,10 @@ -require 'evertils/common/authentication' - module Evertils module Common module Entity - class Stack - - def initialize - @evernote = Authentication.new.store + class Stack < Entity::Base - self - end - def create_from_yml(full_path) begin nb = Notebook.new if File.exists? full_path @@ -31,17 +23,9 @@ else raise ArgumentError, "File not found: #{full_path}" end rescue ArgumentError => e puts e.message - end - end - - private - - def has_required_fields(hash, required) - hash.keys.each do |key| - required.include? key end end end end \ No newline at end of file