class Slackify::Parameter

Base parameter class that any user defined parameters must inherit from

Public Class Methods

inherited(subclass) click to toggle source

Any class inheriting from Slackify::Parameter will be added to the list of supported parameters

# File lib/slackify/parameter.rb, line 11
def inherited(subclass)
  @@supported_parameters.push(subclass.to_s)
end
supported_parameters() click to toggle source

Show a list of the parameters supported by the app. Since we do metaprogramming, we want to ensure we can only call defined parameter

# File lib/slackify/parameter.rb, line 17
def supported_parameters
  @@supported_parameters
end