module SecureShare
Public Class Methods
client()
click to toggle source
# File lib/secureshare.rb, line 6 def client @client ||= SecureShare::Client.new end
config()
click to toggle source
# File lib/secureshare/config.rb, line 10 def self.config @config end
configure() { |config ||= configuration| ... }
click to toggle source
# File lib/secureshare/config.rb, line 5 def self.configure(&block) yield @config ||= SecureShare::Configuration.new config.ensure_configured! end
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/secureshare.rb, line 10 def method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end
respond_to?(method, include_private=false)
click to toggle source
Calls superclass method
# File lib/secureshare.rb, line 15 def respond_to?(method, include_private=false) client.respond_to?(method, include_private) || super(method, include_private) end