Skip to content

Instantly share code, notes, and snippets.

@kawayu-yu
Last active July 5, 2020 09:22
Show Gist options
  • Save kawayu-yu/d0067dbd53809918226e47fbfdd2c9f7 to your computer and use it in GitHub Desktop.
Save kawayu-yu/d0067dbd53809918226e47fbfdd2c9f7 to your computer and use it in GitHub Desktop.
shippingdayモデル(発送日)
class Prefecture < ActiveHash::Base
self.data = [
{ id: 1, day: '1~2日で発送'},
{ id: 2, day: '2~3日で発送'},
{ id: 3, day: '4~7日で発送'},
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment