Module: CongressForms

Defined in:
lib/congress_forms.rb,
lib/congress_forms/form.rb,
lib/congress_forms/repo.rb,
lib/congress_forms/actions.rb,
lib/congress_forms/version.rb,
lib/congress_forms/cwc_form.rb,
lib/congress_forms/web_form.rb

Defined Under Namespace

Modules: Actions Classes: CwcForm, Form, Repo, WebForm

Constant Summary collapse

Error =
Class.new(Exception) do
  attr_accessor :screenshot
end
UnsupportedAction =
Class.new(Error)
VERSION =
"0.1.17"
@@contact_congress_remote =
"https://github.com/unitedstates/contact-congress.git"
@@contact_congress_repository =
nil
@@auto_update_contact_congress =
true

Class Method Summary collapse

Class Method Details

.auto_update_contact_congress=(auto_update) ⇒ Object



93
94
95
# File 'lib/congress_forms.rb', line 93

def self.auto_update_contact_congress=(auto_update)
  @@auto_update_contact_congress = auto_update
end

.auto_update_contact_congress?Boolean

Returns:

  • (Boolean)


97
98
99
# File 'lib/congress_forms.rb', line 97

def self.auto_update_contact_congress?
  @@auto_update_contact_congress
end

.contact_congress_remoteObject



77
78
79
# File 'lib/congress_forms.rb', line 77

def self.contact_congress_remote
  @@contact_congress_remote
end

.contact_congress_remote=(location) ⇒ Object



73
74
75
# File 'lib/congress_forms.rb', line 73

def self.contact_congress_remote=(location)
  @@contact_congress_remote = location
end

.contact_congress_repositoryObject



87
88
89
# File 'lib/congress_forms.rb', line 87

def self.contact_congress_repository
  @@contact_congress_repository
end

.contact_congress_repository=(location) ⇒ Object



83
84
85
# File 'lib/congress_forms.rb', line 83

def self.contact_congress_repository=(location)
  @@contact_congress_repository = location
end