Module: Surveygizmo::Configurable

Included in:
Client
Defined in:
lib/surveygizmo/configurable.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.keysObject



4
5
6
7
8
9
# File 'lib/surveygizmo/configurable.rb', line 4

def keys
  @keys ||= [
    :username,
    :password
  ]
end

Instance Method Details

#credentials?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/surveygizmo/configurable.rb', line 13

def credentials?
  credentials.values.all?
end