Skip to content

Commit

Permalink
Remove Lodestone endpoint
Browse files Browse the repository at this point in the history
This endpoint has been removed from the API, so remove it from the
library as well.
  • Loading branch information
mattantonelli committed Feb 18, 2020
1 parent f399034 commit 5574e0b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,6 @@ See the examples below to get a better idea of how to access the data.
=> "!Kill_For_A_Friend!"
```

#### Lodestone
```rb
>> updates = client.lodestone(:updates)
=> ...
>> updates.first.title
=> "Companion App Updated (Sep. 18)"
```

#### Patch List
```rb
>> patch = client.patch_list.last
Expand Down
7 changes: 0 additions & 7 deletions lib/xivapi/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,6 @@ def pvp_team_search(name: nil, server: nil, columns: [])
XIVAPI::Paginator.new(self, params, 'pvpteam/search', LODESTONE_LIMIT)
end

# @param category [String, Symbol] Category to retrieve (e.g. News, Updates, DevBlog)
# @return [Array<OpenStruct>] The requested Lodestone data
def lodestone(category)
endpoint = category.to_s.downcase.delete('_')
request(self, "lodestone/#{endpoint}")
end

# @return [Array<OpenStruct>] List of game patches
def patch_list
request(self, 'patchlist')
Expand Down

0 comments on commit 5574e0b

Please sign in to comment.