Skip to content

Documentation #2

Description

@shubhamitc

Hi,

I have started using this project and there is not enough documentation to start with. Could you please help in getting started as in what you mean by token in your readme file.

Any helps to get started ...

client.issues.all( project_id: 'zicos' )
=> #<Her::Model::Relation:0x000000029fdbc8 @parent=#Class:0x000000029fe230, @params={:project_id=>"zicos"}, @_fetch=nil>
2.2.1 :013 > client.issues.all( project_id: 'zicos' ).size
NoMethodError: undefined method map' for nil:NilClass from /usr/local/rvm/gems/ruby-2.2.1@redmine/gems/her-0.7.6/lib/her/model/attributes.rb:35:ininitialize_collection'
from /usr/local/rvm/gems/ruby-2.2.1@redmine/gems/her-0.7.6/lib/her/model/attributes.rb:167:in new_collection' from /usr/local/rvm/gems/ruby-2.2.1@redmine/gems/her-0.7.6/lib/her/model/relation.rb:71:inblock in fetch'
from /usr/local/rvm/gems/ruby-2.2.1@redmine/gems/her-0.7.6/lib/her/model/http.rb:59:in request' from /usr/local/rvm/gems/ruby-2.2.1@redmine/gems/her-0.7.6/lib/her/model/relation.rb:70:infetch'
from /usr/local/rvm/gems/ruby-2.2.1@redmine/gems/her-0.7.6/lib/her/model/relation.rb:45:in method_missing' from (irb):13 from /usr/local/rvm/rubies/ruby-2.2.1/bin/irb:11:in

'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions