Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 1005 Bytes

README.md

File metadata and controls

31 lines (28 loc) · 1005 Bytes

Nike

gem 'nike'
$ bundle

Initialize the client

$ c = Nike::Client.new('your_email', 'your_password')
====

( Working properly )

user name: shahid@kartiksolutions.com
password : Shahid123

( Not working properly )

user name: jraman05@gmail.com
password : Solanki123

====

Download and install the file with a ruby script

====

Problem solving

 In gem file client.rb(c:\ruby\...\nike 0.2.7\lib\nike) line no:43 add code
 def activities(opts = {})
    fetched_activities = fetch_user_data(opts).activities
    if fetched_activities.nil? 
      return []
    else
      return fetched_activities.map { |a| a.activity }
    end
  end

====