write public function to call api
Merge branch 'hung'

Conflicts:
	Gemfile
Merge branch 'hung'