Class: Bixbite::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/bixbite/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Command

Returns a new instance of Command.



5
6
7
8
# File 'lib/bixbite/command.rb', line 5

def initialize options
  @config = options[:config]
  @options = options
end

Instance Attribute Details

#optionsObject

Returns the value of attribute options.



3
4
5
# File 'lib/bixbite/command.rb', line 3

def options
  @options
end

Instance Method Details

#run!Object



10
11
12
# File 'lib/bixbite/command.rb', line 10

def run!
  Bixbite::Create.new(@options)
end