Module: Harvest
- Defined in:
- lib/harvest/resources/entry.rb,
lib/harvest.rb,
lib/harvest/base.rb,
lib/harvest/resources/task.rb,
lib/harvest/harvest_resource.rb,
lib/harvest/resources/client.rb,
lib/harvest/resources/person.rb,
lib/harvest/resources/expense.rb,
lib/harvest/resources/project.rb,
lib/harvest/plugins/toggleable.rb,
lib/harvest/resources/task_assignment.rb,
lib/harvest/resources/user_assignment.rb,
lib/harvest/resources/expense_category.rb,
lib/harvest/plugins/active_resource_inheritable_headers.rb
Overview
Allows headers in an ActiveResource::Base class to be inherited by subclasses. Useful for setting a User-Agent used by all resources.
Defined Under Namespace
Modules: Plugins, Resources Classes: Base, HarvestResource
Constant Summary collapse
- VERSION =
"0.8"
- ApiDomain =
"harvestapp.com"
Class Method Summary collapse
-
.load_all_ruby_files_from_path(path) ⇒ Object
Class method to load all ruby files from a given path.
Class Method Details
.load_all_ruby_files_from_path(path) ⇒ Object
Class method to load all ruby files from a given path.
6 7 8 9 10 |
# File 'lib/harvest.rb', line 6 def self.load_all_ruby_files_from_path(path) Dir.foreach(path) do |file| require File.join(path, file) if file =~ /\.rb$/ end end |