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.16"
@@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



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

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

.auto_update_contact_congress?Boolean

Returns:

  • (Boolean)


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

def self.auto_update_contact_congress?
  @@auto_update_contact_congress
end

.contact_congress_remoteObject



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

def self.contact_congress_remote
  @@contact_congress_remote
end

.contact_congress_remote=(location) ⇒ Object



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

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

.contact_congress_repositoryObject



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

def self.contact_congress_repository
  @@contact_congress_repository
end

.contact_congress_repository=(location) ⇒ Object



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

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