Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rest-client'
- require 'json'
- module NextcloudCLI
- module Rest
- class Credentials
- def initialize(host, username, password)
- @host = host
- @username = username
- @password = password
- end
- def host
- @host
- end
- def username
- @username
- end
- def password
- @password
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement