lib/stellar/client.rb
def mech(&block)
    m = Mechanize.new do |m|
      m.cert_store = OpenSSL::X509::Store.new
      m.cert_store.add_file mitca_path
      m.user_agent_alias = 'Linux Firefox'
      yield m if block
      m
    end
    m
  end
def mech(&block)
    m = Mechanize.new do |m|
      m.cert_store = OpenSSL::X509::Store.new
      m.cert_store.add_file mitca_path
      m.user_agent_alias = 'Linux Firefox'
      yield m if block
      m
    end
    m
  end
def mech ( & block ) m = Mechanize . new do | m | m . cert_store = OpenSSL :: X509 :: Store . new m . cert_store . add_file mitca_path m . user_agent_alias = 'Linux Firefox' yield m if block m end m end
Client for accessing public information.

 Call auth to authenticate as a user and access restricted functionality.
 New Mechanize instance.
Client for accessing public information .