class NeverBounce::CLI::UserConfig

User's configuration values. @see UserConfig::FileContent

Attributes

api_key[W]
api_url[W]

Public Instance Methods

api_key() click to toggle source

API key. @return [String]

# File lib/never_bounce/cli/user_config.rb, line 17
def api_key
  @api_key ||= fc[:api_key]
end
api_url() click to toggle source

API URL. @return [String]

# File lib/never_bounce/cli/user_config.rb, line 23
def api_url
  @api_url ||= fc[:api_url]
end
fc() click to toggle source

@!attribute fc @return [FileContent]

# File lib/never_bounce/cli/user_config.rb, line 31
def fc
  _cache[:fc] ||= FileContent.new
end
fc=(obj) click to toggle source
# File lib/never_bounce/cli/user_config.rb, line 35
def fc=(obj)
  _cache[:fc] = obj
end
touch() click to toggle source

“Touch” all attributes by loading them. @return [self]

# File lib/never_bounce/cli/user_config.rb, line 41
def touch
  api_key; api_url
  self
end