class Opsicle::UserProfileInfo
Attributes
client[R]
Public Class Methods
new(environment)
click to toggle source
# File lib/opsicle/commands/user_profile_info.rb, line 8 def initialize(environment) @client = Client.new(environment) @user_profile = UserProfile.new(@client) end
Public Instance Methods
execute(options={})
click to toggle source
# File lib/opsicle/commands/user_profile_info.rb, line 13 def execute(options={}) Output.say output.to_json end
output()
click to toggle source
# File lib/opsicle/commands/user_profile_info.rb, line 17 def output @user_profile.attributes end