Class: MisarBlog::FollowsResource

Inherits:
Resource
  • Object
show all
Defined in:
lib/misarblog/client.rb

Overview

GET /follows — follower counts and the caller's follow state.

Instance Method Summary collapse

Methods inherited from Resource

#initialize

Constructor Details

This class inherits a constructor from MisarBlog::Resource

Instance Method Details

#status(user_id:) ⇒ Object

Parameters:

  • user_id (String)


233
234
235
# File 'lib/misarblog/client.rb', line 233

def status(user_id:)
  @client.request(:get, "/follows#{query(compact(user_id: user_id))}")
end