Module: Vineyard::Configurable

Included in:
Vineyard
Defined in:
lib/vineyard/configurable.rb

Instance Method Summary collapse

Instance Method Details

#configureObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/vineyard/configurable.rb', line 3

def configure
  puts 'Configure!'
  # def self.authenticate(username = '', password = '')
  #   options = {
  #     :query => {
  #       'username' => username,
  #       'password' => password
  #     },
  #     :headers => {
  #       'Device-Token' => 'Vineyard',
  #       'User-Agent' => 'com.vine.iphone/1.01 (unknown, iPhone OS 6.0, iPad, Scale/2.000000) (Vineyard.js/0.0.1)'
  #     }
  #   }
  #   # puts options
  #   puts HTTParty.post 'https://api.vineapp.com/users/authenticate', options
  # end
end