Module: HeyDan

Included in:
OpenCivicIdentifiers
Defined in:
lib/heydan.rb,
lib/heydan/cli.rb,
lib/heydan/version.rb

Defined Under Namespace

Classes: Base, Cdn, Cli, HelpText, Helper, Import, JurisdictionFile, OpenCivicIdentifiers, Script, ScriptFile, Server, Source, SourceFile, Sources

Constant Summary collapse

VERSION =
"0.1.3.7"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.aws_access_idObject

Returns the value of attribute aws_access_id.



12
13
14
# File 'lib/heydan.rb', line 12

def aws_access_id
  @aws_access_id
end

.aws_bucketObject

Returns the value of attribute aws_bucket.



14
15
16
# File 'lib/heydan.rb', line 14

def aws_bucket
  @aws_bucket
end

.aws_regionObject

Returns the value of attribute aws_region.



15
16
17
# File 'lib/heydan.rb', line 15

def aws_region
  @aws_region
end

.aws_secret_keyObject

Returns the value of attribute aws_secret_key.



13
14
15
# File 'lib/heydan.rb', line 13

def aws_secret_key
  @aws_secret_key
end

.cdnObject

Returns the value of attribute cdn.



9
10
11
# File 'lib/heydan.rb', line 9

def cdn
  @cdn
end

.elasticsearchObject

Returns the value of attribute elasticsearch.



11
12
13
# File 'lib/heydan.rb', line 11

def elasticsearch
  @elasticsearch
end

.foldersObject

Returns the value of attribute folders.



6
7
8
# File 'lib/heydan.rb', line 6

def folders
  @folders
end

.helpObject

Returns the value of attribute help.



5
6
7
# File 'lib/heydan.rb', line 5

def help
  @help
end

.optionsObject

Returns the value of attribute options.



10
11
12
# File 'lib/heydan.rb', line 10

def options
  @options
end

.settings_fileObject

Returns the value of attribute settings_file.



8
9
10
# File 'lib/heydan.rb', line 8

def settings_file
  @settings_file
end

.sourcesObject

Returns the value of attribute sources.



7
8
9
# File 'lib/heydan.rb', line 7

def sources
  @sources
end

Class Method Details

.help?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/heydan.rb', line 29

def self.help?
  self.help
end

.helper_text(method) ⇒ Object

calls help text when needed



18
19
20
21
22
# File 'lib/heydan.rb', line 18

def helper_text(method)
  if self.help
    HeyDan::HelpText.send(method)
  end
end