Sha256: 1e4af31f24c0f55233df923e6df47f22613c071148c61a8653d25bafcd8f6d9b

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

class API

    def self.get_data(sign)
            response = RestClient.post("https://aztro.sameerkumar.website/?sign=#{sign}&day=today", {})
            aztro_data = JSON.parse(response.body)
        return aztro_data
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aztro_cli-0.1.0 lib/aztro_cli/api.rb