class Cinii::Client::Dissertation
Public Instance Methods
book(naid)
click to toggle source
support.nii.ac.jp/ja/cid/api/d_json
# File lib/cinii/client/dissertation.rb, line 13 def book(naid) raise 'Not implemented yet.' end
list_dissertations(**params)
click to toggle source
support.nii.ac.jp/ja/cid/api/d_opensearch
# File lib/cinii/client/dissertation.rb, line 7 def list_dissertations(**params) response = send_get('/d/search', dissertation_params(params)) Cinii::SearchResult::Dissertation.new(response) end
Private Instance Methods
dissertation_params(params)
click to toggle source
# File lib/cinii/client/dissertation.rb, line 19 def dissertation_params(params) { q: params[:q], title: params[:title], description: params[:description], author: params[:author], grantor: params[:grantor], grantorid: params[:grantor_id], grantid: params[:grant_id], degreename: params[:degree_name], year_from: params[:year_from], year_to: params[:year_to], fulltext: params[:full_text], range: params[:range], sortorder: params[:sortorder], p: params[:page], count: params[:count] }.compact end