10
11
12
13
14
15
|
# File 'lib/socialcast/command_line/message.rb', line 10
def self.configure_from_credentials
Socialcast::CommandLine::Message.site = ['https://', Socialcast::CommandLine.credentials[:domain], '/api'].join
Socialcast::CommandLine::Message.proxy = Socialcast::CommandLine.credentials[:proxy] if Socialcast::CommandLine.credentials[:proxy]
Socialcast::CommandLine::Message.user = Socialcast::CommandLine.credentials[:user]
Socialcast::CommandLine::Message.password = Socialcast::CommandLine.credentials[:password]
end
|