lib/myjohndeere.rb in myjohndeere-0.1.8 vs lib/myjohndeere.rb in myjohndeere-0.1.9
- old
+ new
@@ -79,14 +79,19 @@
set_logger()
end
class Configuration
attr_accessor :endpoint
- attr_writer :shared_secret, :app_id, :contribution_definition_id
+ attr_writer :shared_secret, :app_id, :contribution_definition_id, :use_last_active_boundary
attr_reader :environment
def log_level=(val)
@log_level = val
+ end
+
+ def use_last_active_boundary
+ @use_last_active_boundary ||= false
+ return @use_last_active_boundary
end
def log_level
@log_level ||= :fatal
return @log_level
\ No newline at end of file