class BB8::Voltos

Public Class Methods

bundles() click to toggle source
# File lib/bb8/voltos.rb, line 2
def self.bundles
  api = BB8::Voltos::API.new
  api.get("bundles").collect { |hash|
    BB8::Voltos::Bundle.new hash['name'], api
  }
end
current_bundle() click to toggle source
# File lib/bb8/voltos.rb, line 9
def self.current_bundle
  BB8::Voltos::Bundle.new File.read('.bb8_bundle')
end