Class: Confetti::Config::Access

Inherits:
Struct
  • Object
show all
Defined in:
lib/confetti/config/classes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#browserOnlyObject

Returns the value of attribute browserOnly

Returns:

  • (Object)

    the current value of browserOnly



74
75
76
# File 'lib/confetti/config/classes.rb', line 74

def browserOnly
  @browserOnly
end

#originObject

Returns the value of attribute origin

Returns:

  • (Object)

    the current value of origin



74
75
76
# File 'lib/confetti/config/classes.rb', line 74

def origin
  @origin
end

#subdomainsObject

Returns the value of attribute subdomains

Returns:

  • (Object)

    the current value of subdomains



74
75
76
# File 'lib/confetti/config/classes.rb', line 74

def subdomains
  @subdomains
end

Instance Method Details

#defined_attrsObject



75
76
77
78
79
80
81
# File 'lib/confetti/config/classes.rb', line 75

def defined_attrs
  {
    "origin" => self[ :origin ],
    "subdomains" => self[ :subdomains ],
    "browserOnly" => self[ :browserOnly ]
  }
end