Class: Backup::Configuration::Adapter

Inherits:
Object
  • Object
show all
Extended by:
Attributes
Defined in:
lib/backup/configuration/adapter.rb

Instance Method Summary collapse

Methods included from Attributes

generate_attributes

Constructor Details

#initializeAdapter

Returns a new instance of Adapter.



7
8
9
# File 'lib/backup/configuration/adapter.rb', line 7

def initialize
  @options = Backup::Configuration::AdapterOptions.new
end

Instance Method Details

#get_optionsObject



15
16
17
# File 'lib/backup/configuration/adapter.rb', line 15

def get_options
  @options
end

#options(&block) ⇒ Object



11
12
13
# File 'lib/backup/configuration/adapter.rb', line 11

def options(&block)
  @options.instance_eval &block
end