Class: BlogConfig

Inherits:
Struct
  • Object
show all
Defined in:
lib/cliblog.rb

Overview

Blog configuration includes cliblog.yml, except username/password.

Instance Attribute Summary collapse

Instance Attribute Details

#apiObject

Returns the value of attribute api

Returns:

  • (Object)

    the current value of api



18
19
20
# File 'lib/cliblog.rb', line 18

def api
  @api
end

#blogidObject

Returns the value of attribute blogid

Returns:

  • (Object)

    the current value of blogid



18
19
20
# File 'lib/cliblog.rb', line 18

def blogid
  @blogid
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



18
19
20
# File 'lib/cliblog.rb', line 18

def password
  @password
end

#text_formatterObject

Returns the value of attribute text_formatter

Returns:

  • (Object)

    the current value of text_formatter



18
19
20
# File 'lib/cliblog.rb', line 18

def text_formatter
  @text_formatter
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



18
19
20
# File 'lib/cliblog.rb', line 18

def url
  @url
end

#usernameObject

Returns the value of attribute username

Returns:

  • (Object)

    the current value of username



18
19
20
# File 'lib/cliblog.rb', line 18

def username
  @username
end