14 lines
330 B
Ruby
14 lines
330 B
Ruby
|
class LocalezeController < ApplicationController
|
||
|
def initialize
|
||
|
end
|
||
|
|
||
|
private
|
||
|
def authenticate
|
||
|
response = @client.call(:authenticate, message:
|
||
|
{username: Settings.localeze_username,
|
||
|
password: Settings.localeze_password })
|
||
|
puts response
|
||
|
end
|
||
|
|
||
|
end
|