class Fastlane::Plugin::GitHubStatus::Client
Calls GitHub’s status API and returns model objects to represent the data
Constants
- API_ENDPOINT
Public Instance Methods
last_message()
click to toggle source
@return Message
representing the last status update from GitHub
# File lib/fastlane/plugin/github_status/client.rb, line 9 def last_message message_json = JSON.parse(open("#{API_ENDPOINT}/last-message.json").read) Plugin::GitHubStatus::Message.new(message_json) end