class MultiBitly::Account

Attributes

url[R]

Public Class Methods

new(url) click to toggle source
# File lib/multi_bitly/account.rb, line 3
def initialize(url)
  @url = url
end

Public Instance Methods

api_key() click to toggle source
# File lib/multi_bitly/account.rb, line 11
def api_key
  finder.new(url).account[:api_key]
end
username() click to toggle source
# File lib/multi_bitly/account.rb, line 7
def username
  finder.new(url).account[:username]
end

Private Instance Methods

finder() click to toggle source
# File lib/multi_bitly/account.rb, line 19
def finder
  AccountFinder
end