Sha256: 5202786ae735af47c1e9414376a0214d62b1c95b087b85866b1d6499ab97fdd4
Contents?: true
Size: 1.3 KB
Versions: 20
Compression:
Stored size: 1.3 KB
Contents
module Mihari class FeedReader attr_reader uri: URI attr_reader http_request_headers: Hash[(String | Symbol), untyped] attr_reader http_request_method: String attr_reader http_request_payload_type: String? attr_reader http_request_payload: Hash[(String | Symbol), untyped] def initialize: ( String uri, ?http_request_headers: Hash[(String | Symbol), untyped] http_request_headers, ?http_request_method: String http_request_method, ?http_request_payload_type: String? http_request_payload_type, ?http_request_payload: Hash[(String | Symbol), untyped] http_request_payload ) -> void def read: () -> Array[Hash] def get: () -> Array[Hash] def post: () -> Array[Hash] # # Convert text as JSON # # @param [String] text # # @return [Array<Hash>] # def convert_as_json: (String text) -> Array[Hash] # # Convert text as CSV # # @param [String] text # # @return [Array<Hash>] # def convert_as_csv: (String text) -> Array[Hash] def https_options: () -> ({ use_ssl: ::TrueClass } | ::Hash[untyped, untyped]) # # Make a HTTP request # # @param [Net::HTTPRequest] req # # @return [Array<Hash>] # def request: (Net::HTTPRequest req) -> Array[Hash] end end
Version data entries
20 entries across 20 versions & 1 rubygems