lib/strano/configuration.rb
def allow_organizations
      if @allow_organizations.is_a?(String) || @allow_organizations.is_a?(Symbol)
        [@allow_organizations.to_s]
      else
        @allow_organizations.is_a?(Array) ? @allow_organizations.map(&:to_s) : @allow_organizations
      end
    end
# An array of valid keys in the options hash when configuring a
# {Strano::API.
An array of valid keys in the options hash when configuring a
{Strano::API.
An array of valid keys in the options hash when configuring a { Strano :: API .
def allow_organizations
      if @allow_organizations.is_a?(String) || @allow_organizations.is_a?(Symbol)
        [@allow_organizations.to_s]
      else
        @allow_organizations.is_a?(Array) ? @allow_organizations.map(&:to_s) : @allow_organizations
      end
    end
def allow_organizations if @allow_organizations . is_a? ( String ) || @allow_organizations . is_a? ( Symbol ) [ @allow_organizations . to_s ] else @allow_organizations . is_a? ( Array ) ? @allow_organizations . map ( & :to_s ) : @allow_organizations end end
An array of valid keys in the options hash when configuring a
{Strano::API.
An array of valid keys in the options hash when configuring a { Strano :: API .