Sha256: 0f35d14914e090c7301eb2e74d08808ba9f8d247713a152a0c6a0074268ef47c
Contents?: true
Size: 879 Bytes
Versions: 5
Compression:
Stored size: 879 Bytes
Contents
require 'ruby_fly/version' require 'ruby_fly/commands' require 'ruby_fly/rc' module RubyFly class << self attr_writer :configuration def configuration @configuration ||= Configuration.new end def configure yield(configuration) end def reset! @configuration = nil end end module ClassMethods def get_pipeline(opts = {}) Commands::GetPipeline.new.execute(opts) end def set_pipeline(opts = {}) Commands::SetPipeline.new.execute(opts) end def unpause_pipeline(opts = {}) Commands::UnpausePipeline.new.execute(opts) end def version Commands::Version.new.execute end end extend ClassMethods def self.included(other) other.extend(ClassMethods) end class Configuration attr_accessor :binary def initialize @binary = 'fly' end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ruby_fly-0.25.0 | lib/ruby_fly.rb |
ruby_fly-0.24.0.pre.1 | lib/ruby_fly.rb |
ruby_fly-0.23.0 | lib/ruby_fly.rb |
ruby_fly-0.22.0.pre.2 | lib/ruby_fly.rb |
ruby_fly-0.22.0.pre.1 | lib/ruby_fly.rb |