lib/turntabler/authorized_user.rb
def blocks
      data = api('block.list_all')
      data['blocks'].map {|attrs| User.new(client, attrs['block']['blocked'])}
    end
def blocks
      data = api('block.list_all')
      data['blocks'].map {|attrs| User.new(client, attrs['block']['blocked'])}
    end
def blocks data = api ( 'block.list_all' ) data [ 'blocks' ] . map { | attrs | User . new ( client , attrs [ 'block' ] [ 'blocked' ] ) } end
Gets the users that have been blocked by this user.

 @return [Array<Turntabler::User>]
 @raise [Turntabler::Error] if the command fails
 @example
   user.blocks   # => [#<Turntabler::User ...>, ...]
Gets the users that have been blocked by this user .