Module: Ruush

Defined in:
lib/ruush.rb,
lib/ruush/cli.rb,
lib/ruush/auth.rb,
lib/ruush/config.rb,
lib/ruush/delete.rb,
lib/ruush/errors.rb,
lib/ruush/parser.rb,
lib/ruush/upload.rb,
lib/ruush/history.rb,
lib/ruush/version.rb,
lib/ruush/endpoint.rb

Defined Under Namespace

Classes: Api, BadAuth, BadData, BadHash, BadKey, CLI, Config, Error, Parser

Constant Summary collapse

VERSION =
"0.93.0"
PUUSH_VERSION =
"r93"
BASE_URL =
"http://puush.me"

Class Method Summary collapse

Class Method Details

.configObject



21
22
23
# File 'lib/ruush.rb', line 21

def self.config
  @config
end

.endpoint(endpoint) ⇒ Object



3
4
5
# File 'lib/ruush/endpoint.rb', line 3

def self.endpoint(endpoint)
  "#{BASE_URL}#{endpoint}"
end

.write_configObject



25
26
27
# File 'lib/ruush.rb', line 25

def self.write_config
  @config.write "#{Dir.home}/.ruush"
end