Class: Bux::Configuration

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

Overview

grab the config options

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# File 'lib/bux.rb', line 24

def initialize
  @department_name = 'My Office'
  @building_room = '100 Building Name'
  @address = '1 Oval Mall'
  @email = 'email@osu.edu'
  @phone = '614-292-OHIO'
  @fax = '614-555-5555'

  @facebook = nil
  @twitter = nil
  @instagram = nil
  @linkedin = nil
  @youtube = nil
  @tiktok = nil

  @signin_link = nil
  @signout_link = nil

  @header = @department_name
  @header_link = nil

  @header_parent = nil
  @header_slogan = nil

  @use_cdn = false
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



20
21
22
# File 'lib/bux.rb', line 20

def address
  @address
end

#building_roomObject

Returns the value of attribute building_room.



20
21
22
# File 'lib/bux.rb', line 20

def building_room
  @building_room
end

#department_nameObject

Returns the value of attribute department_name.



20
21
22
# File 'lib/bux.rb', line 20

def department_name
  @department_name
end

#emailObject

Returns the value of attribute email.



20
21
22
# File 'lib/bux.rb', line 20

def email
  @email
end

#facebookObject

Returns the value of attribute facebook.



20
21
22
# File 'lib/bux.rb', line 20

def facebook
  @facebook
end

#faxObject

Returns the value of attribute fax.



20
21
22
# File 'lib/bux.rb', line 20

def fax
  @fax
end

#headerObject

Returns the value of attribute header.



20
21
22
# File 'lib/bux.rb', line 20

def header
  @header
end

Returns the value of attribute header_link.



20
21
22
# File 'lib/bux.rb', line 20

def header_link
  @header_link
end

#header_parentObject

Returns the value of attribute header_parent.



20
21
22
# File 'lib/bux.rb', line 20

def header_parent
  @header_parent
end

#header_sloganObject

Returns the value of attribute header_slogan.



20
21
22
# File 'lib/bux.rb', line 20

def header_slogan
  @header_slogan
end

#instagramObject

Returns the value of attribute instagram.



20
21
22
# File 'lib/bux.rb', line 20

def instagram
  @instagram
end

#linkedinObject

Returns the value of attribute linkedin.



20
21
22
# File 'lib/bux.rb', line 20

def linkedin
  @linkedin
end

#phoneObject

Returns the value of attribute phone.



20
21
22
# File 'lib/bux.rb', line 20

def phone
  @phone
end

Returns the value of attribute signin_link.



20
21
22
# File 'lib/bux.rb', line 20

def 
  @signin_link
end

Returns the value of attribute signout_link.



20
21
22
# File 'lib/bux.rb', line 20

def signout_link
  @signout_link
end

#tiktokObject

Returns the value of attribute tiktok.



20
21
22
# File 'lib/bux.rb', line 20

def tiktok
  @tiktok
end

#twitterObject

Returns the value of attribute twitter.



20
21
22
# File 'lib/bux.rb', line 20

def twitter
  @twitter
end

#use_cdnObject

Returns the value of attribute use_cdn.



20
21
22
# File 'lib/bux.rb', line 20

def use_cdn
  @use_cdn
end

#youtubeObject

Returns the value of attribute youtube.



20
21
22
# File 'lib/bux.rb', line 20

def youtube
  @youtube
end