Module: ElephantDriveService
- Extended by:
- ElephantDriveService
- Included in:
- ElephantDriveService
- Defined in:
- lib/elephant-drive-service.rb,
lib/elephant-drive-service/version.rb
Constant Summary collapse
- VERSION =
"0.1.5"
Class Method Summary collapse
Instance Method Summary collapse
- #change_password_path(token) ⇒ Object
- #user_portal_domain ⇒ Object
- #user_portal_domain=(domain) ⇒ Object
- #ws_config ⇒ Object
- #ws_config=(config) ⇒ Object
Class Method Details
.configure {|_self| ... } ⇒ Object
36 37 38 |
# File 'lib/elephant-drive-service.rb', line 36 def self.configure yield self end |
Instance Method Details
#change_password_path(token) ⇒ Object
32 33 34 |
# File 'lib/elephant-drive-service.rb', line 32 def change_password_path token "/account/change_password.aspx?id=#{token}" end |
#user_portal_domain ⇒ Object
24 25 26 |
# File 'lib/elephant-drive-service.rb', line 24 def user_portal_domain "https://#{@domain || 'locaweb.vaultservices.net'}" end |
#user_portal_domain=(domain) ⇒ Object
28 29 30 |
# File 'lib/elephant-drive-service.rb', line 28 def user_portal_domain= domain @domain = domain end |
#ws_config ⇒ Object
16 17 18 |
# File 'lib/elephant-drive-service.rb', line 16 def ws_config @ws_config end |
#ws_config=(config) ⇒ Object
20 21 22 |
# File 'lib/elephant-drive-service.rb', line 20 def ws_config= config @ws_config = config end |