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
VERSION =
"0.1.2"
@@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



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

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

.auto_update_contact_congress? ⇒ Boolean

Returns:

  • (Boolean)


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

def self.auto_update_contact_congress?
  @@auto_update_contact_congress
end

.contact_congress_remote ⇒ Object



62
63
64
# File 'lib/congress_forms.rb', line 62

def self.contact_congress_remote
  @@contact_congress_remote
end

.contact_congress_remote=(location) ⇒ Object



58
59
60
# File 'lib/congress_forms.rb', line 58

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

.contact_congress_repository ⇒ Object



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

def self.contact_congress_repository
  @@contact_congress_repository
end

.contact_congress_repository=(location) ⇒ Object



68
69
70
# File 'lib/congress_forms.rb', line 68

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